]> git.mxchange.org Git - mailer.git/blobdiff - inc/reset/reset_holiday.php
Fixes for rallye extension, refs are now no longer removed from rallye if ref was...
[mailer.git] / inc / reset / reset_holiday.php
index 5d599857b33774073d1bc37a7421b96f5a780416..b323667ddd8ffff2d5afbcac2e230f65f0779fb3 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) || ((!defined('__DAILY_RESET')) && ($_CONFIG['holiday_mode'] == "RESET"))) return;
+if (($CSS == 1) || (GET_EXT_VERSION("holiday") == "") || ((!defined('__DAILY_RESET')) && ($_CONFIG['holiday_mode'] == "RESET"))) return;
 
 // Check for holidays we need to enable and send email to user
 $result_main = SQL_QUERY("SELECT userid, holiday_activated FROM "._MYSQL_PREFIX."_user_data