]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_holiday.php
Since Wernis API 0.6-BETA SHA256 is the default now
[mailer.git] / inc / modules / admin / what-config_holiday.php
index b03ce7aef0fed0cfe8036f757f56d4855fd15b09..deef62f002874f3f020b9e0d9eb4d9716f2609b4 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -56,9 +56,7 @@ if (isFormSent('save_config')) {
        } // END - foreach
 
        // Set all entries
-       foreach (array('holiday_mode') as $entry) {
-               $content[$entry . '_' . strtolower(getConfig($entry))] = ' checked="checked"';
-       } // END - if
+       $content = merge_array($content, getCheckedConfig(array('holiday_mode')));
 
        // Load form template
        loadTemplate('admin_config_holiday', FALSE, $content);