// 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