]> git.mxchange.org Git - mailer.git/blobdiff - inc/daily/daily_birthday.php
Do not reset accounts on daily reset
[mailer.git] / inc / daily / daily_birthday.php
index 42273b6f314564adfb3c0d85e8244a3b8f54181e..25ba924b186edfd266d730195b0c4c37808ce1f6 100644 (file)
@@ -59,8 +59,8 @@ $year  = getYear();
 $lastOnline = '';
 
 // Shall I include only active members?
-if ((getConfig('birthday_active')  == 'Y') && (isExtensionActive('autopurge')) && (isBegActiveEnabled()) && ((getApInactiveSince() > 0))) {
-       $add = ' AND (UNIX_TIMESTAMP() - `last_online`) >= {?ap_inactive_since?}';
+if ((getConfig('birthday_active')  == 'Y') && (isExtensionActive('autopurge')) && ((getApInactiveSince() > 0))) {
+       $add = ' AND (UNIX_TIMESTAMP() - `last_online`) < {?ap_inactive_since?}';
 } // END - if
 
 // Only confirmed members shall receive birthday mails...