-$ADD = "%s"; $VALUE = "";
-if ((getConfig('birthday_active')) && (EXT_IS_ACTIVE("autopurge")) && (getConfig('autopurge_inactive') == "Y") && (getConfig('ap_inactive_since') > 0)) {
- $ADD = " AND last_online >= (UNIX_TIMESTAP() - %s)";
- $VALUE = getConfig('ap_inactive_since');
+$add = "%s"; $value = '';
+if ((getConfig('birthday_active')) && (EXT_IS_ACTIVE('autopurge')) && (getConfig('autopurge_inactive') == 'Y') && (getConfig('ap_inactive_since') > 0)) {
+ $add = " AND `last_online` >= (UNIX_TIMESTAP() - %s)";
+ $value = getConfig('ap_inactive_since');