X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_email.php;h=674a428890253aa70188ddf54106e1c5e8872e0f;hb=2e68ea39a430a7217e58747b877acaa3e92ea997;hp=dee05390c5f474732f5c182f924f6e4cfbc9dd66;hpb=89c00e43d2ce1dd1afe11c2c8485307342805f97;p=mailer.git diff --git a/inc/modules/admin/what-config_email.php b/inc/modules/admin/what-config_email.php index dee05390c5..674a428890 100644 --- a/inc/modules/admin/what-config_email.php +++ b/inc/modules/admin/what-config_email.php @@ -50,16 +50,16 @@ if (isset($_POST['add_max'])) { if (SQL_NUMROWS($result) == 0) { // Add this value (including comment) SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_max_receive (value, comment) VALUES ('%s','%s')", - array(bigintval($_POST['max']), $_POST['comment']),__FILE__, __LINE__); - $content = "".MAX_VALUE_SAVED.""; + array(bigintval($_POST['max']), $_POST['comment']),__FILE__, __LINE__); + $content = MAX_VALUE_SAVED; } else { - // Free memory - SQL_FREERESULT($result); - // Value does alread exists! $content = "".MAX_VALUE_ALREADY.""; } + // Free memory + SQL_FREERESULT($result); + // Display message LOAD_TEMPLATE("admin_settings_saved", false, $content); } elseif ((isset($_POST['ok'])) && (isset($_GET['do']))) {