]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_payouts.php
Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / modules / admin / what-config_payouts.php
index 328a4444f06e6112096a06c066ab4f1e29a237ab..bf11b764a2d586e389f2fcdd4e842a9e607210c0 100644 (file)
@@ -50,7 +50,7 @@ if ((isPostRequestElementSet('add')) && (isPostRequestElementSet('title')) && (p
        // 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)