if (!empty($SQL)) {
// The SQL command needs to be finisched here (only confirmed accounts!)
- $SQL .= ") AND status='CONFIRMED' ORDER BY last_online ASC";
+ $SQL .= ") AND `status`='CONFIRMED' ORDER BY last_online ASC";
// Prepare data for the template
define('__BEG_MIN_POINTS' , TRANSLATE_COMMA(getConfig('beg_points')));