]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_bonus.php
Typo fixed
[mailer.git] / inc / modules / admin / what-config_bonus.php
index fe4e8b81380eee6d6a65a0e1e321c8406ed50b68..143885c6994b4bec08e5bb7845063f4574814829 100644 (file)
@@ -74,10 +74,10 @@ if (isFormSent()) {
        $content['bonus_userid'] = addMemberSelectionBox(getBonusUserid(), false, true, true, 'bonus_userid');
 
        // Initialize array for the points list
-       $RANKS = explode(';', getConfig('turbo_rates'));
+       $RANKS = explode(';', getTurboRates());
 
        // Automatically calculate bonus points for ranks 2 and 3 when not set
-       if (getConfig('turbo_rates') == '') $RANKS = array(round(getConfig('turbo_bonus') / 2), round(getConfig('turbo_bonus') / 4));
+       if (getTurboRates() == '') $RANKS = array(round(getConfig('turbo_bonus') / 2), round(getConfig('turbo_bonus') / 4));
 
        // Generate list
        $OUT = '<ol start="2">';