X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmonthly%2Fmonthly_beg.php;h=950b94884e94f10cb1305e007083c13fabadcf81;hp=2ce572fc9d418b869ee0c2c742b70908c1702532;hb=71c07e991fc7f5393317f4d9adf4ecdbc26b9aa3;hpb=b2850d8ddb4d3e7ad6f66dbadac86aad263ff738 diff --git a/inc/monthly/monthly_beg.php b/inc/monthly/monthly_beg.php index 2ce572fc9d..950b94884e 100644 --- a/inc/monthly/monthly_beg.php +++ b/inc/monthly/monthly_beg.php @@ -40,7 +40,7 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} elseif ((getScriptOutputMode() == 1) || (!isResetModeEnabled())) { +} elseif ((isCssOutputMode()) || (!isResetModeEnabled())) { // Do not execute when script is in CSS mode or no daily reset return; } elseif ((!isExtensionActive('beg')) || (!isBegRallyeEnabled())) { @@ -52,7 +52,7 @@ if (!defined('__SECURITY')) { $curr = getMonth(); // Check if month is done -if (($curr != getConfig('last_month')) && (getConfig('last_month') > 0) && (getConfig('beg_ranks') > 0) && (getScriptOutputMode() != 1)) { +if (($curr != getConfig('last_month')) && (getConfig('last_month') > 0) && (getConfig('beg_ranks') > 0) && (!isCssOutputMode())) { // Extension 'autopurge' is inactive or purging of inactive accounts is deactivated $whereStatement1 = '';