]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_email.php
Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / modules / admin / what-config_email.php
index 9d84ac91df1ff7983c76c8a9d982b08cb0bff140..a03200ca1070a3af528107bad891470c8aef20e5 100644 (file)
@@ -51,7 +51,7 @@ if (isPostRequestElementSet(('add_max'))) {
        // Save all settings
        $result = SQL_QUERY_ESC("SELECT `id` FROM `{?_MYSQL_PREFIX?}_max_receive` WHERE value='%s' LIMIT 1",
        array(bigintval(postRequestElement('max'))), __FILE__, __LINE__);
-       if (SQL_NUMROWS($result) == 0) {
+       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(postRequestElement('max')), postRequestElement('comment')),__FILE__, __LINE__);