]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-maintenance.php
Fixes loading of network type config
[mailer.git] / inc / modules / admin / what-maintenance.php
index e0d4f530cfdee9179f13a0e9782d16e18ab46108..29fb38b59ce662d038e2c240099b6fcf3c301f68 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -61,7 +61,7 @@ if (isFormSent()) {
        updateConfiguration('maintenance', $target_mode);
 
        // Load template
-       loadTemplate('admin_settings_saved', false, $message);
+       displayMessage($message);
 } else {
        switch (getMaintenance()) {
                case 'Y': // Maintenance mode is active