]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_surfbar.php
Updated copyright year.
[mailer.git] / inc / modules / admin / what-config_surfbar.php
index dc9533b057a8a930646a38562d96890fdbbf15eb..b9907bd60c891319dc4d1d6ee64fadf5e357047a 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 - 2016 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -68,9 +68,7 @@ if (isFormSent('save_config')) {
        } // END - foreach
 
        // Prepare selections
-       foreach (array('surfbar_payment_model','surfbar_pause_mode','surfbar_notification_mode') as $entry) {
-               $content[$entry . '_' . strtolower(getConfig($entry))] = ' checked="checked"';
-       } // END - foreach
+       $content = merge_array($content, getCheckedConfig(array('surfbar_payment_model','surfbar_pause_mode','surfbar_notification_mode')));
 
        // Load template
        loadTemplate('admin_config_surfbar', FALSE, $content);