]> 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 ba30ff1007453704eed3d861cc46479e11eeab81..e392bf427dd239d89b52e7cce9f2760e4d7a4af5 100644 (file)
@@ -46,8 +46,8 @@ addMenuDescription('admin', __FILE__);
 
 if (isFormSent()) {
        // Allow only direct points (non-floating)
-       setPostRequestElement('sponsor_min_points', bigintval(postRequestElement('sponsor_min_points')));
-       setPostRequestElement('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();