X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_email_max_rec.php;h=55d1506b241ff2f76e081c736922c41d7ea0934e;hb=be79afde3071dfc4d6fe845ddb75abf13534eadb;hp=c5c2c0b70e18d87229f0062ddfb79faa1336581c;hpb=54c8b5c5e33d7bcea5313b77e50358e95ab524e2;p=mailer.git diff --git a/inc/modules/admin/what-list_email_max_rec.php b/inc/modules/admin/what-list_email_max_rec.php index c5c2c0b70e..55d1506b24 100644 --- a/inc/modules/admin/what-list_email_max_rec.php +++ b/inc/modules/admin/what-list_email_max_rec.php @@ -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