X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_holiday.php;h=f93977a7f04c0631e92238ca91809d7da0ecc5ca;hb=861094d1642885638794be43308ee3163fcd3a24;hp=865c27fdaa93d3e496ec5c96626ea009d2954d0c;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa;p=mailer.git diff --git a/inc/modules/admin/what-config_holiday.php b/inc/modules/admin/what-config_holiday.php index 865c27fdaa..f93977a7f0 100644 --- a/inc/modules/admin/what-config_holiday.php +++ b/inc/modules/admin/what-config_holiday.php @@ -50,7 +50,12 @@ if (isFormSent()) { adminSaveSettingsFromPostData(); } else { // Prepare constants for the template - $content['holiday_locked'] = createTimeSelections(getConfig('holiday_lock') , 'holiday_lock' , 'WDh'); + $content['holiday_lock'] = createTimeSelections(getConfig('holiday_lock') , 'holiday_lock' , 'WDh'); + + // Init all entries + foreach (array('holiday_mode_direct','holiday_mode_reset') as $entry) { + $content[$entry] = ''; + } // END - foreach // Set all entries foreach (array('holiday_mode') as $entry) {