]> git.mxchange.org Git - mailer.git/blobdiff - inc/reset/reset_birthday.php
A lot calls saved, expression language rewritten:
[mailer.git] / inc / reset / reset_birthday.php
index 2ca54a1cbe9d94e9728a3f855a5699d3d05170d4..493e9ee43c371da7714b11609b08a8e6dda20def 100644 (file)
@@ -55,7 +55,7 @@ $year  = getYear();
 
 // Shall I include only active members?
 $add = '%s'; $value = '';
-if ((getConfig('birthday_active')) && (isExtensionActive('autopurge')) && (getConfig('autopurge_inactive') == 'Y') && (getConfig('ap_inactive_since') > 0)) {
+if ((getConfig('birthday_active')) && (isExtensionActive('autopurge')) && (getConfig('autopurge_inactive') == 'Y') && (getApInactiveSince() > 0)) {
        $add = " AND `last_online` >= (UNIX_TIMESTAMP() - {?ap_inactive_since?})";
 } // END - if