X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_payouts.php;h=3ffb231efdd75eb8e4db0ef21b366efb2127184c;hb=96dfdd6b8e6a56d6594c3525e5fd2a066697a6de;hp=328a4444f06e6112096a06c066ab4f1e29a237ab;hpb=f2c43b993e03f90202044a0c2ea0abd0866ec6ee;p=mailer.git diff --git a/inc/modules/admin/what-config_payouts.php b/inc/modules/admin/what-config_payouts.php index 328a4444f0..3ffb231efd 100644 --- a/inc/modules/admin/what-config_payouts.php +++ b/inc/modules/admin/what-config_payouts.php @@ -1,7 +1,7 @@ 0)) { // Add new payout type $result = SQL_QUERY_ESC("SELECT `id` FROM `{?_MYSQL_PREFIX?}_payout_types` WHERE type='%s' LIMIT 1", array(postRequestElement('title')), __FILE__, __LINE__); - if (SQL_NUMROWS($result) == 0) { + if (SQL_NUMROWS($result) == '0') { // Add now SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_payout_types` (type, rate, min_points, from_account, from_pass, engine_url, engine_ret_ok, engine_ret_failed, pass_enc, allow_url) @@ -75,7 +75,7 @@ VALUES ('%s', %d, %d,'%s','%s','%s','%s','%s','%s','%s')", SQL_FREERESULT($result); // Does already exist - $message = "