]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_sponsor.php
Bug 'return is not bool' fixed
[mailer.git] / inc / modules / admin / what-config_sponsor.php
index f4ef394d0b20a64599f5127b6d0412c0d03945f6..e392bf427dd239d89b52e7cce9f2760e4d7a4af5 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * M-XChange v0.2.1                                   Start: 12/21/2004 *
- * ================                             Last change: 12/21/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 12/21/2004 *
+ * ===================                          Last change: 12/21/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-config_title.php                            *
@@ -46,8 +46,8 @@ addMenuDescription('admin', __FILE__);
 
 if (isFormSent()) {
        // Allow only direct points (non-floating)
-       setRequestPostElement('sponsor_min_points', bigintval(postRequestElement('sponsor_min_points')));
-       setRequestPostElement('sponsor_ref_points', bigintval(postRequestElement('sponsor_ref_points')));
+       setPostRequestParameter('sponsor_min_points', bigintval(postRequestParameter('sponsor_min_points')));
+       setPostRequestParameter('sponsor_ref_points', bigintval(postRequestParameter('sponsor_ref_points')));
 
        // Save settings
        adminSaveSettingsFromPostData();