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();