// Add description as navigation point
ADD_DESCR("admin", __FILE__);
-if (isset($_POST['ok'])) {
+if (IS_FORM_SENT()) {
// Save sponsor in database
- SPONSOR_HANDLE_SPONSOR($_POST);
+ SPONSOR_HANDLE_SPONSOR(REQUEST_POST_ARRAY());
} else {
// Prepare constants for the template
define('__SPONSOR_MIN_VALUE', getConfig('sponsor_min_points'));