// Get current day (01 to 31), month (01 to 12) and year (4-digits year)
$DAY = date("d", time());
$MONTH = date("m", time());
-$YEAR = date("Y", time());
+$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']);