} // END - if
// Run SQL string to check for accounts
- $result_main = SQL_QUERY("SELECT
+ $result_main = SQL_QUERY('SELECT
`userid`, `email`, `gender`, `surname`, `family`, (0" . $add . ") AS points
FROM
`{?_MYSQL_PREFIX?}_user_data`
-" . $whereStatement1 . "
+' . $whereStatement1 . '
ORDER BY
`points` DESC,
`userid` ASC
-LIMIT {?bonus_ranks?}", __FILE__, __LINE__);
+LIMIT {?bonus_ranks?}', __FILE__, __LINE__);
// Some entries were found?
if (!SQL_HASZERONUMS($result_main)) {