$year = date('Y', time());
// Shall I include only active members?
-$add = "%s"; $value = '';
+$add = '%s'; $value = '';
if ((getConfig('birthday_active')) && (isExtensionActive('autopurge')) && (getConfig('autopurge_inactive') == 'Y') && (getConfig('ap_inactive_since') > 0)) {
- $add = " AND `last_online` >= (UNIX_TIMESTAMP() - %s)";
- $value = getConfig('ap_inactive_since');
+ $add = " AND `last_online` >= (UNIX_TIMESTAMP() - {?ap_inactive_since?})";
} // END - if
// Only confirmed members shall receive birthday mails...