]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_holiday.php
Fixes for rallye extension, refs are now no longer removed from rallye if ref was...
[mailer.git] / inc / modules / admin / what-config_holiday.php
index 51878d2fcc1a11c5feac0dda3f13988a4be2a419..ffb49497d7733fda098c08c2dc82c30c5039b786 100644 (file)
@@ -50,16 +50,16 @@ if (isset($_POST['ok']))
        // 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'])
-       {
+
+       switch ($_CONFIG['holiday_mode']) {
        case "RESET":
-               define('__RESET_DEFAULT' , " checked");
+               define('__RESET_DEFAULT' , " checked=\"checked\"");
                define('__DIRECT_DEFAULT', "");
                break;
 
        case "DIRECT":
                define('__RESET_DEFAULT' , "");
-               define('__DIRECT_DEFAULT', " checked");
+               define('__DIRECT_DEFAULT', " checked=\"checked\"");
                break;
        }