X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fweekly%2Fweekly_surfbar.php;h=c4bc6b798f3944fc528a1b83377a63d6e357351a;hp=07fe708c018dfc978df835ddb6f7801584adf3cd;hb=84dd2fecd5b013cf6f4c4e7dee8b0d470b6a5f5c;hpb=fed7fa31618320f28ae73af4f19d008012d75849 diff --git a/inc/weekly/weekly_surfbar.php b/inc/weekly/weekly_surfbar.php index 07fe708c01..c4bc6b798f 100644 --- a/inc/weekly/weekly_surfbar.php +++ b/inc/weekly/weekly_surfbar.php @@ -38,7 +38,7 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) { +} elseif ((!isHtmlOutputMode()) || (!isWeeklyResetEnabled())) { // Do not execute when script is in non-HTML mode or no daily reset return; } elseif (!isExtensionActive('surfbar')) {