]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_email_max_rec.php
Extension ext-network continued:
[mailer.git] / inc / modules / admin / what-list_email_max_rec.php
index 1b0a24aa72bed9718f0acc8468b2dfcf151f029f..cae2ae147525eaefa834ec6da4376f9b89856df1 100644 (file)
@@ -74,7 +74,7 @@ if (isPostRequestElementSet('add_max')) {
                // Secure id
                $id = bigintval($id);
 
-               switch (postRequestElement('do')) {
+               switch (getRequestElement('do')) {
                        case 'edit': // Change entries
                                SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_max_receive` SET value='%s', comment='%s' WHERE `id`=%s LIMIT 1",
                                array(
@@ -90,8 +90,8 @@ if (isPostRequestElementSet('add_max')) {
                                        array($id), __FILE__, __LINE__);
                                $TEXT = '{--ADMIN_MAX_RECEIVE_DELETED--}';
                                break;
-               }
-       }
+               } // END - switch
+       } /// END - foreach
 
        if (isset($TEXT)) {
                // Display message