]> git.mxchange.org Git - mailer.git/blobdiff - inc/mails/birthday_mails.php
Fixes for wrong config entries
[mailer.git] / inc / mails / birthday_mails.php
index 1fa6a0c5a1caca6121a52ead2017b18877cc6f05..e4b9716e8318e8d643e17229185448007a0c1483 100644 (file)
@@ -50,7 +50,7 @@ $YEAR  = date('Y', time());
 
 // Shall I include only active members?
 $ADD = "%s"; $VALUE = "";
-if (($_CONFIG['birthday_active']) && (EXT_IS_ACTIVE("autopurge")) && ($_CONFIG['ap_inactive'] == "Y") && ($_CONFIG['ap_inactive_since'] > 0)) {
+if (($_CONFIG['birthday_active']) && (EXT_IS_ACTIVE("autopurge")) && ($_CONFIG['autopurge_inactive'] == "Y") && ($_CONFIG['ap_inactive_since'] > 0)) {
        $ADD = " AND last_online >= (UNIX_TIMESTAP() - %s)";
        $VALUE = $_CONFIG['ap_inactive_since'];
 }