X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_holiday.php;h=07ac413f57474368f13ffb1e7dc6fb19edfb8405;hb=9d3e47c8ab6ff3ab7efca2a968d66a5ccf76728d;hp=cde0b8234a7fdd395dc4e01c51b1a347fec3a31d;hpb=7b0f17cd637e388049d2167811e4332cec1e979b;p=mailer.git diff --git a/inc/modules/admin/what-config_holiday.php b/inc/modules/admin/what-config_holiday.php index cde0b8234a..07ac413f57 100644 --- a/inc/modules/admin/what-config_holiday.php +++ b/inc/modules/admin/what-config_holiday.php @@ -50,22 +50,22 @@ if (IS_FORM_SENT()) // Save settings ADMIN_SAVE_SETTINGS_POST(); } - else +else { // Prepare constants for the template define('__MAX_VALUE', getConfig('holiday_max')); define('__LOCKED' , createTimeSelections(getConfig('holiday_lock') , "holiday_lock" , "WDh")); switch (getConfig('holiday_mode')) { - case "RESET": - define('__RESET_DEFAULT' , ' chkecked="checked"'); - define('__DIRECT_DEFAULT', ''); - break; + case "RESET": + define('__RESET_DEFAULT' , ' checked="checked"'); + define('__DIRECT_DEFAULT', ''); + break; - case "DIRECT": - define('__RESET_DEFAULT' , ''); - define('__DIRECT_DEFAULT', ' chkecked="checked"'); - break; + case 'DIRECT': + define('__RESET_DEFAULT' , ''); + define('__DIRECT_DEFAULT', ' checked="checked"'); + break; } // Load form template