X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-extensions.php;h=33e4de8f72a1a7f3192f619ebd06ed1bd2961c81;hp=c9421a7cf65a586e51c38c21e217692037eea521;hb=d3c4fdd9bfab35389e1a5ff48f3952d527c7b4bb;hpb=b0693e1b6ee1f65dcb09dae6960dc3abe35c75e4 diff --git a/inc/modules/admin/what-extensions.php b/inc/modules/admin/what-extensions.php index c9421a7cf6..33e4de8f72 100644 --- a/inc/modules/admin/what-extensions.php +++ b/inc/modules/admin/what-extensions.php @@ -57,7 +57,7 @@ if (isPostRequestElementSet('sel')) { if (isGetRequestElementSet('reg_ext')) { // We are about to register a new extension $do = 'register'; $ext_id = bigintval(getRequestElement('reg_ext')); - // The ID comes from task management and it is - of course - *not* the extension's name! + // The id comes from task management and it is - of course - *not* the extension's name! } elseif ((isPostRequestElementSet('change')) && ($SEL > 0) && (!isDemoModeActive())) { // De-/activate extensions foreach (postRequestElement('sel') as $ext_id => $active) { @@ -81,7 +81,7 @@ if (isGetRequestElementSet('reg_ext')) { // Change entries $cache_update = 0; foreach (postRequestElement('sel') as $ext_id => $sel) { - // Secure ID + // Secure id $ext_id = bigintval($ext_id); // Change this extension? @@ -217,7 +217,7 @@ if (isGetRequestElementSet('reg_ext')) { // Remove extensions from DB (you have to delete all files manually!) $cache_update = 0; foreach (postRequestElement('sel') as $ext_id => $active) { - // Secure ID number + // Secure id number $ext_id = bigintval($ext_id); // Is this extension selected and id valid? @@ -304,9 +304,9 @@ ORDER BY `ext_name` ASC", __FILE__, __LINE__); // Free result SQL_FREERESULT($result); - // Is the ID number valid and the task was found? + // Is the id number valid and the task was found? if (($ext_id > 0) && ($task_found == 1)) { - // ID is valid so begin with registration, we first want to it's real name from task management (subject column) + // id is valid so begin with registration, we first want to it's real name from task management (subject column) $result = SQL_QUERY_ESC("SELECT `subject` FROM `{?_MYSQL_PREFIX?}_task_system` WHERE `id`=%s LIMIT 1", array(bigintval($ext_id)), __FILE__, __LINE__); list($subj) = SQL_FETCHROW($result); @@ -374,7 +374,7 @@ ORDER BY `ext_name` ASC", __FILE__, __LINE__); // No longer assigned or old task loadTemplate('admin_settings_saved', false, getMessage('ADMIN_REG_FAILED_ASSIGED')); } else { - // ID is invalid + // id is invalid loadTemplate('admin_settings_saved', false, getMessage('ADMIN_REG_FAILED_INVALID')); } break;