addYouAreHereLink('admin', __FILE__);
if (isFormSent()) {
- // Translate german decimal commas to computer decimal dots
- setPostRequestParameter('beg_points' , convertCommaToDot(postRequestParameter('beg_points') ));
- setPostRequestParameter('beg_points_max' , convertCommaToDot(postRequestParameter('beg_points_max') ));
- setPostRequestParameter('beg_notify_bonus', convertCommaToDot(postRequestParameter('beg_notify_bonus')));
+ // Replace german decimal comma with computer decimal dot
+ convertCommaToDotInPostDataArray(array('beg_points', 'beg_points_max', 'beg_notify_bonus'));
// Save settings
adminSaveSettingsFromPostData();