Even more rewrites/fixes from EL branch (please report any broken part after you...
[mailer.git] / inc / modules / member / what-beg2.php
index 67bc6e3..b448c2f 100644 (file)
@@ -68,7 +68,7 @@ $result = SQL_QUERY_ESC("SELECT
 FROM
        `{?_MYSQL_PREFIX?}_user_data`
 WHERE
-       `beg_points` > 0 AND `status`='CONFIRMED'".$lastOnline."
+       `beg_points` > 0 AND `status`='CONFIRMED'" . $lastOnline . "
 ORDER BY
        `beg_points` DESC, `last_online` DESC, `userid` ASC LIMIT %s",
        array(