X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_mods.php;h=453ee27b54248aaa8dd7bf6ea17ba9acb5b281b4;hb=c1671a3b6c02326b471916a28f4177c453871f51;hp=8d6c362fecadc053cdb29a21cfdb5040a8b4349d;hpb=1ebf518b9552f71ee95de6f4b80e6de3a27716d1;p=mailer.git diff --git a/inc/modules/admin/what-config_mods.php b/inc/modules/admin/what-config_mods.php index 8d6c362fec..453ee27b54 100644 --- a/inc/modules/admin/what-config_mods.php +++ b/inc/modules/admin/what-config_mods.php @@ -1,6 +1,6 @@ 0) { + if (countPostSelection() > 0) { // Output header $OUT = ''; $SW = 2; @@ -92,7 +90,7 @@ if (isPostRequestElementSet('edit')) { // Change modules foreach (postRequestElement('sel') as $id => $sel) { - // Secure ID number + // Secure id number $id = bigintval($id); // Update module @@ -119,7 +117,7 @@ if (isPostRequestElementSet('edit')) { loadTemplate('admin_settings_saved', false, getMessage('MODS_CHANGED')); } -if ($SEL == 0) { +if (countPostSelection() == '0') { // Load module data (We do not need to check if there's at least one...) $result = SQL_QUERY('SELECT id, module, locked, hidden, admin_only, title, mem_only FROM `{?_MYSQL_PREFIX?}_mod_reg`