Even more variables renamed and login procedure prepared for filter
[mailer.git] / inc / modules / guest / what-active.php
index ec3a4601a6116130690439d8904576f27606a1d2..4aff32af452894acc55eb39c7113e370649b1d30 100644 (file)
@@ -49,13 +49,13 @@ if (!defined('__SECURITY')) {
 ADD_DESCR("guest", __FILE__);
 
 // Extra field to include is by default uid
-$ADD = "userid";
+$add = "userid";
 
 // If nickname is installed the extra field is the nickname of the user
-if (EXT_IS_ACTIVE("nickname")) $ADD = "nickname";
+if (EXT_IS_ACTIVE("nickname")) $add = "nickname";
 
 // Check for members who were active only this day
-$result = SQL_QUERY_ESC("SELECT userid, ".$ADD.", last_online
+$result = SQL_QUERY_ESC("SELECT userid, ".$add.", last_online
 FROM `{!_MYSQL_PREFIX!}_user_data`
 WHERE last_online >= %s AND `status`='CONFIRMED'
 ORDER BY last_online DESC LIMIT %s",