X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_mods.php;h=809f4be165eadc650ede036fbc2f8d5dac3c1cec;hp=aad70b3f7489f8660b5df4cc05e05bb590013041;hb=30ae22f62ae87c53a56baf0d134569ba91011111;hpb=c72268213d4d4829d845d39c101bb08fbe4ed79a;ds=sidebyside diff --git a/inc/modules/admin/what-config_mods.php b/inc/modules/admin/what-config_mods.php index aad70b3f74..809f4be165 100644 --- a/inc/modules/admin/what-config_mods.php +++ b/inc/modules/admin/what-config_mods.php @@ -47,7 +47,7 @@ addMenuDescription('admin', __FILE__); if (isFormSent('edit')) { // Check if at least one module is selected - if (countPostSelection() > 0) { + if (ifPostContainsSelections()) { // Output header $OUT = ''; @@ -122,7 +122,7 @@ if (isFormSent('edit')) { loadTemplate('admin_settings_saved', false, '{--ADMIN_MODS_CHANGED--}'); } -if (countPostSelection() == 0) { +if (!ifPostContainsSelections()) { // 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`