// 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();
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`