X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_register.php;h=3cce55902a75cf69e8a7a3eb253260861de64ed0;hp=31775b8c9478a1ce709df782f5b4ff24fe9b3e10;hb=682edce003a1a91f66fb8e2212d7fdb591379843;hpb=e523b69ecd6c7f37ae1cb36872537073b40c0e27 diff --git a/inc/modules/admin/what-config_register.php b/inc/modules/admin/what-config_register.php index 31775b8c94..3cce55902a 100644 --- a/inc/modules/admin/what-config_register.php +++ b/inc/modules/admin/what-config_register.php @@ -46,7 +46,7 @@ addMenuDescription('admin', __FILE__); // Do we want to save changes? if (isFormSent()) { // Begin counting - $cnt = 0; + $count = 0; // Update all entries foreach (postRequestParameter('sel') as $id => $value) { @@ -55,11 +55,11 @@ if (isFormSent()) { array($value, bigintval($id), $value),__FILE__, __LINE__); // Get affected rows - $cnt += SQL_AFFECTEDROWS(); + $count += SQL_AFFECTEDROWS(); } // END - foreach // Output message for updated entries - loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_REGISTER_CHANGES_SAVED', $cnt)); + loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_REGISTER_CHANGES_SAVED', $count)); } // END - if // List all register values