]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_sponsor_pay.php
Some SQL queries improved, sponsor registration fixed:
[mailer.git] / inc / modules / admin / what-list_sponsor_pay.php
index dee8f22e8c23bfecee08533590b697127b7622c3..75dea69fb2d7431f5321fd923c246d5dcdcbb86b 100644 (file)
@@ -80,7 +80,7 @@ SET
        `pay_min_count`='%s',
        `pay_currency`='%s'
 WHERE
-       `id`='%s'
+       `id`=%s
 LIMIT 1",
                        array(
                                postRequestParameter('name', $id),
@@ -97,7 +97,7 @@ LIMIT 1",
                // Remove entries here...
                foreach (postRequestParameter('id') as $id => $sel) {
                        // Remove entry
-                       SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_sponsor_paytypes` WHERE `id`='%s' LIMIT 1",
+                       SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_sponsor_paytypes` WHERE `id`=%s LIMIT 1",
                                array(bigintval($id)), __FILE__, __LINE__);
                }