]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_email_max_rec.php
A lot has been rewritten, ext-teams added, ext-forced continued:
[mailer.git] / inc / modules / admin / what-list_email_max_rec.php
index c5c2c0b70e18d87229f0062ddfb79faa1336581c..55d1506b241ff2f76e081c736922c41d7ea0934e 100644 (file)
@@ -54,7 +54,7 @@ if (isPostRequestParameterSet('add_max')) {
        array(bigintval(postRequestParameter('max'))), __FILE__, __LINE__);
        if (SQL_HASZERONUMS($result)) {
                // Add this value (including comment)
-               SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES ('%s','%s')",
+               SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES ('%s','%s')",
                array(bigintval(postRequestParameter('max')), postRequestParameter('comment')),__FILE__, __LINE__);
                $content = '{--ADMIN_MAX_VALUE_SAVED--}';
        } else {
@@ -102,7 +102,7 @@ if (isPostRequestParameterSet('add_max')) {
        $OUT = '';
        foreach (postRequestParameter('sel') as $id => $value) {
                // Load data
-               $result = SQL_QUERY_ESC("SELECT `id`, `value`, `comment` FROM `{?_MYSQL_PREFIX?}_max_receive` WHERE `id`=%s LIMIT 1",
+               $result = SQL_QUERY_ESC("SELECT `id`,`value`,`comment` FROM `{?_MYSQL_PREFIX?}_max_receive` WHERE `id`=%s LIMIT 1",
                        array(bigintval($id)), __FILE__, __LINE__);
                $content = SQL_FETCHARRAY($result);
                SQL_FREERESULT($result);
@@ -119,7 +119,7 @@ if (isPostRequestParameterSet('add_max')) {
        $OUT = '';
        foreach (postRequestParameter('sel') as $id => $value) {
                // Load data
-               $result = SQL_QUERY_ESC("SELECT `id`, `value`, `comment` FROM `{?_MYSQL_PREFIX?}_max_receive` WHERE `id`=%s LIMIT 1",
+               $result = SQL_QUERY_ESC("SELECT `id`,`value`,`comment` FROM `{?_MYSQL_PREFIX?}_max_receive` WHERE `id`=%s LIMIT 1",
                        array(bigintval($id)), __FILE__, __LINE__);
                $content = SQL_FETCHARRAY($result);
                SQL_FREERESULT($result);
@@ -132,7 +132,7 @@ if (isPostRequestParameterSet('add_max')) {
        // Load main template
        loadTemplate('admin_edit_email_max_rec', false, $content);
 } else {
-       $result = SQL_QUERY("SELECT `id`, `value`, `comment` FROM `{?_MYSQL_PREFIX?}_max_receive` ORDER BY `value` ASC",
+       $result = SQL_QUERY("SELECT `id`,`value`,`comment` FROM `{?_MYSQL_PREFIX?}_max_receive` ORDER BY `value` ASC",
        __FILE__, __LINE__);
        if (!SQL_HASZERONUMS($result)) {
                // List already existing entries for editing