Password reset for admin login added (still buggy if cache is installed and sql_patch...
[mailer.git] / inc / mails / birthday_mails.php
index 597d7288448f1a001c249379e9bb6a0464a8173e..d0faabfc5e919e0d4b1d3a5947eaf73ffe66e125 100644 (file)
@@ -53,7 +53,7 @@ $YEAR  = date('Y', time());
 
 // Shall I include only active members?
 $ADD = "%s"; $VALUE = "";
-if (($_CONFIG['birthday_active']) && (EXT_IS_ACTIVE("autopurge")) && ($_CONFIG['ap_in_since'] > 0) && ($_CONFIG['ap_inactive'] == 'Y'))
+if (($_CONFIG['birthday_active']) && (EXT_IS_ACTIVE("autopurge")) && ($_CONFIG['ap_in_since'] > 0) && ($_CONFIG['ap_inactive'] == "Y"))
 {
        $ADD = " AND last_online >= %d";
        $VALUE = bigintval(time() - $_CONFIG['ap_in_since']);