X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_holiday.php;h=00d9de8032e5d4562b85117964823644dbbbbf60;hb=1410e014d23f244e73d3a7916a61c2473416bab9;hp=95e715ffd5ba38609fb33af112e4732544c70223;hpb=2e715eb7f3f8ca8d259aacb4cbbddde7d9d18e01;p=mailer.git diff --git a/inc/modules/admin/what-config_holiday.php b/inc/modules/admin/what-config_holiday.php index 95e715ffd5..00d9de8032 100644 --- a/inc/modules/admin/what-config_holiday.php +++ b/inc/modules/admin/what-config_holiday.php @@ -48,7 +48,7 @@ if (isFormSent()) { adminSaveSettingsFromPostData(); } else { // Prepare constants for the template - $content['holiday_lock'] = createTimeSelections(getConfig('holiday_lock') , 'holiday_lock' , 'WDh'); + $content['holiday_lock'] = createConfigurationTimeSelections('holiday_lock', 'WDh'); // Init all entries foreach (array('holiday_mode_direct','holiday_mode_reset') as $entry) { @@ -57,7 +57,7 @@ if (isFormSent()) { // Set all entries foreach (array('holiday_mode') as $entry) { - $content[$entry . '_' . strtolower(getConfig('holiday_mode'))] = ' checked="checked"'; + $content[$entry . '_' . strtolower(getConfig($entry))] = ' checked="checked"'; } // END - if // Load form template