]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-add_sponsor.php
Mahor rewrite:
[mailer.git] / inc / modules / admin / what-add_sponsor.php
index 1f736068ee145ec0c44142d1f91e4af3bad44deb..3630a89c13918b2fafec7ee4cd9488f0abf466db 100644 (file)
@@ -45,7 +45,7 @@ if (isset($_POST['ok'])) {
        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");