SPONSOR_HANDLE_SPONSOR($_POST);
} else {
// Prepare constants for the template
- define('__SPONSOR_MIN_VALUE', $_CONFIG['sponsor_min_points']);
+ define('__SPONSOR_MIN_VALUE', getConfig('sponsor_min_points'));
// Output form
LOAD_TEMPLATE("admin_add_sponsor");