X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-admins_mails.php;h=b4f752c93986e2618dd5037c3cba9a372958d404;hb=5b794a32b30ec5322765c89a22c4c27aece94a42;hp=9711dd6a7b297ac43f386ea9fa2e8a49c17a6f02;hpb=c2e17d983fcbc0c3bd1dd37908d87c678f0367df;p=mailer.git diff --git a/inc/modules/admin/what-admins_mails.php b/inc/modules/admin/what-admins_mails.php index 9711dd6a7b..b4f752c939 100644 --- a/inc/modules/admin/what-admins_mails.php +++ b/inc/modules/admin/what-admins_mails.php @@ -46,8 +46,7 @@ addMenuDescription('admin', __FILE__); if (isPostRequestElementSet('edit')) { // Check if entires are checked - $SEL = countPostSelection(); - if ($SEL > 0) { + if (countPostSelection() > 0) { // Add option for events $adminsList = generateOptionList('admins', 'id', 'login', '', 'email'); $SW = 2; $rowNameS = ''; @@ -55,12 +54,12 @@ if (isPostRequestElementSet('edit')) { // First of all load data from DB $result = SQL_QUERY_ESC("SELECT `admin_id`, `id` FROM `{?_MYSQL_PREFIX?}_admins_mails` WHERE `mail_template`='%s' ORDER BY `id` ASC", array($template), __FILE__, __LINE__); - $OUT = ''; $adminId2 = 0; + $OUT = ''; $adminId2 = '0'; while ($content = SQL_FETCHARRAY($result)) { // @TODO Can this be rewritten??? $OUT .= "