Some fixes for isBooleanConstantAndTrue()
[mailer.git] / inc / monthly / monthly_beg.php
index be310f4d047ba26fa8c4102d4a01607ffdf36a1e..35e62117a947beb87b69548936c842cbb36f6148 100644 (file)
@@ -41,7 +41,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Do not execute when script is in CSS mode or no daily reset
-if (($CSS == 1) || (!isBooleanConstantAndTrue('__DAILY_RESET')) || ($_CONFIG['beg_rallye'] == "N")) return;
+if (($CSS == 1) || (!defined('__DAILY_RESET')) || ($_CONFIG['beg_rallye'] == "N")) return;
 
 // Get current month (2 digits)
 $curr = date("m", time());