ADD_DESCR("guest", __FILE__);
// Extra field to include is by default uid
-$ADD = "uid";
+$ADD = "userid";
// If nickname is installed the extra field is the nickname of the user
if (EXT_IS_ACTIVE("nickname")) $ADD = "nickname";
FROM "._MYSQL_PREFIX."_user_data
WHERE last_online >= %s AND status='CONFIRMED'
ORDER BY last_online DESC LIMIT %s",
- array(START_TDAY, $_CONFIG['active_limit']), __FILE__, __LINE__);
+ array(START_TDAY, getConfig('active_limit')), __FILE__, __LINE__);
// Entries found?
if (SQL_NUMROWS($result) > 0) {