X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmonthly%2Fmonthly_newsletter.php;h=e8864761dae4ff767b5ca35a0b38a78643ab439e;hb=d7d40e177e09a7161b79bfc95a1d2e91fdff4691;hp=462d6a65bbe249ecd6764506ff17f5b2a9c42652;hpb=1c2d077de1940e35b00ad895e75039949c979cae;p=mailer.git diff --git a/inc/monthly/monthly_newsletter.php b/inc/monthly/monthly_newsletter.php index 462d6a65bb..e8864761da 100644 --- a/inc/monthly/monthly_newsletter.php +++ b/inc/monthly/monthly_newsletter.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2013 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -38,11 +38,11 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} elseif ((isCssOutputMode()) || (!isResetModeEnabled())) { - // Do not execute when script is in CSS mode or no hourly reset +} elseif ((!isHtmlOutputMode()) || (!isMonthlyResetEnabled())) { + // Do not execute when script is in non-HTML mode or no hourly reset return; } elseif (!isExtensionActive('newsletter')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-newsletter disabled.'); return; }