]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_stats.php
Updated copyright notice as there are changes in this year
[mailer.git] / inc / modules / admin / what-config_stats.php
index 6936eb4702c064ddbdafb229d89eeeda2b5799a5..8d486bfff7f23137167ef3bfd8725ab47306b4f0 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 *
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Was the form submitted?
-if (isFormSent()) {
+if (isFormSent('save_config')) {
        // Save settings
        adminSaveSettingsFromPostData();
 } else {
@@ -57,7 +57,7 @@ if (isFormSent()) {
        $content['guest_stats_' . strtolower(getConfig('guest_stats'))]  = ' selected="selected"';
 
        // Load template
-       loadTemplate('admin_config_stats', false, $content);
+       loadTemplate('admin_config_stats', FALSE, $content);
 }
 
 // [EOF]