]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/payout_functions.php
Mailer project continued:
[mailer.git] / inc / libs / payout_functions.php
index c9b05aadd683f534e7bc5fc69221d10e94bfc1ce..805b9d9ee0efd7ecebf57c1b139f953870c2cd3e 100644 (file)
@@ -45,14 +45,17 @@ function outputPayoutList ($points) {
        // Enougth points?
        if ($points > 0) {
                // Pay this out!
-               $result = SQL_QUERY_ESC("SELECT
-       `id`,`type`,`rate`,`min_points`
+               $result = SQL_QUERY_ESC('SELECT
+       `id`,
+       `type`,
+       `rate`,
+       `min_points`
 FROM
        `{?_MYSQL_PREFIX?}_payout_types`
 WHERE
        %s >= `min_points`
 ORDER BY
-       `type` ASC",
+       `type` ASC',
                        array($points), __FUNCTION__, __LINE__);
                if (!SQL_HASZERONUMS($result)) {
                        // Init output