Rewrote reset and some extensions:
[mailer.git] / inc / monthly / monthly_bonus.php
index eb640a1bac8ae30cfbc5c5092b7702a69aa5c710..90ceed68abe10a93bd7845b4d9e0b09ae8a3f626 100644 (file)
@@ -38,7 +38,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) {
+} elseif ((!isHtmlOutputMode()) || (!isMonthlyResetEnabled())) {
        // Do not execute when script is in non-HTML mode or no hourly reset
        return;
 } elseif (!isExtensionActive('bonus')) {