X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_sponsor.php;h=ba900de273cca9270756feea1b1693949de8dd25;hb=77cdaff2afb97ed32985ced906a3a95ee078c2ef;hp=cdfaa8f280293e6b29471b21c296ada498812ab1;hpb=357b2ca133fc1f89db74097955c366cb4bee6996;p=mailer.git diff --git a/inc/modules/admin/what-config_sponsor.php b/inc/modules/admin/what-config_sponsor.php index cdfaa8f280..ba900de273 100644 --- a/inc/modules/admin/what-config_sponsor.php +++ b/inc/modules/admin/what-config_sponsor.php @@ -49,8 +49,8 @@ if (isset($_POST['ok'])) { ADMIN_SAVE_SETTINGS($_POST); } else { // Remember config data in constants for the template - define('__SPONSOR_MIN_POINTS', $_CONFIG['sponsor_min_points']); - define('__SPONSOR_REF_POINTS', $_CONFIG['sponsor_ref_points']); + define('__SPONSOR_MIN_POINTS', getConfig('sponsor_min_points')); + define('__SPONSOR_REF_POINTS', getConfig('sponsor_ref_points')); // Load template LOAD_TEMPLATE("admin_config_sponsor");