Some fixes for isBooleanConstantAndTrue()
[mailer.git] / inc / monthly / monthly_bonus.php
index 0c5f9dd64ac25371b25515b00461b1bcb3baec8c..42cfdeb3e4f3baa5e30172d5e1939693cee4e25d 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'))) return;
+if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
 
 // Get current month (2 digits)
 $curr = date("m", time());