]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_beg.php
Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / modules / admin / what-config_beg.php
index ff57d9b82793de418c68f9deb6ef8336a7895534..eda4275b0d2a41d8d9c8bf43bd0a7724b08d3c83 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2015 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 *
@@ -43,7 +43,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 // Add description as navigation point
 addYouAreHereLink('admin', __FILE__);
 
-if (isFormSent()) {
+if (isFormSent('save_config')) {
        // Replace german decimal comma with computer decimal dot
        convertCommaToDotInPostDataArray(array('beg_points', 'beg_points_max', 'beg_notify_bonus'));
 
@@ -70,10 +70,10 @@ if (isFormSent()) {
        $content['pay_mode_' . strtolower(getBegPayMode())] = ' selected="selected"';
 
        // Member selection box
-       $content['beg_userid'] = addMemberSelectionBox(getBegUserid(), false, true, true, 'beg_userid');
+       $content['beg_userid'] = addMemberSelectionBox(getBegUserid(), FALSE, TRUE, TRUE, 'beg_userid');
 
        // Load form template
-       loadTemplate('admin_config_beg', false, $content);
+       loadTemplate('admin_config_beg', FALSE, $content);
 }
 
 // [EOF]