Fix for inserted codes while registering of extensions, many rewrites/cleanups:
[mailer.git] / inc / modules / admin / what-list_beg.php
index 5c68a0418d5a84fdfbe7ad090ee9c2c4bffaeeb0..225bac8125caab0cb65f2abf39b2f56b2c6853a8 100644 (file)
@@ -67,7 +67,9 @@ if (isBegRallyeEnabled()) {
 FROM
        `{?_MYSQL_PREFIX?}_user_data`
 WHERE
-       `status`='CONFIRMED' AND beg_points > 0".$lastOnline."
+       `status`='CONFIRMED' AND
+       `beg_points` > 0
+       " . $lastOnline . "
 ORDER BY
        `beg_points` DESC,
        `last_online` DESC,