]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_mods.php
Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / modules / admin / what-config_mods.php
index d6ea507d027378b9d7b2a2d41597f7582f5d7a85..f490afd9d42039f2055e70060dd33330cc68373a 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 // Add description as navigation point
 addMenuDescription('admin', __FILE__);
 
-$SEL = 0;
+$SEL = '0';
 if (isPostRequestElementSet('edit')) {
        // Check if at least one module is selected
        $SEL = countPostSelection();
@@ -119,7 +119,7 @@ if (isPostRequestElementSet('edit')) {
        loadTemplate('admin_settings_saved', false, getMessage('MODS_CHANGED'));
 }
 
-if ($SEL == 0) {
+if ($SEL == '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`