X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_holiday.php;h=b11db022dc4cc3774e5043db53fce332b1c5ac1a;hb=0e899620c7a065952d6787c236fb2b33ae337d6a;hp=e903b6265c9256c745b15ca78be40491210537d7;hpb=4d6226782aa4ba157dca8c3891412ba50159481f;p=mailer.git diff --git a/inc/modules/admin/what-config_holiday.php b/inc/modules/admin/what-config_holiday.php index e903b6265c..b11db022dc 100644 --- a/inc/modules/admin/what-config_holiday.php +++ b/inc/modules/admin/what-config_holiday.php @@ -48,9 +48,9 @@ if (isset($_POST['ok'])) else { // Prepare constants for the template - define('__MAX_VALUE', $CONFIG['holiday_max']); - define('__LOCKED' , CREATE_TIME_SELECTIONS($CONFIG['holiday_lock'] , "holiday_lock" , "WDh")); - switch ($CONFIG['holiday_mode']) + define('__MAX_VALUE', $_CONFIG['holiday_max']); + define('__LOCKED' , CREATE_TIME_SELECTIONS($_CONFIG['holiday_lock'] , "holiday_lock" , "WDh")); + switch ($_CONFIG['holiday_mode']) { case "RESET": define('__RESET_DEFAULT' , " checked");