]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_bonus.php
Missing bonus_rates fixed to bonus_ranks
[mailer.git] / inc / modules / admin / what-config_bonus.php
index edf24bfc67ff58f07c6a49092d33954516d0e541..5641b9c5cfed677c26f518a7f4697106e9d6d215 100644 (file)
@@ -89,10 +89,10 @@ if (isset($_POST['ok']))
        ADD_MEMBER_SELECTION_BOX($_CONFIG['bonus_uid'], false, true, true);
 
        // Initialize array for the points list
-       $RANKS = explode(";", $_CONFIG['bonus_rates']);
+       $RANKS = explode(";", $_CONFIG['bonus_ranks']);
 
        // Automatically calculate bonus points for ranks 2 and 3 when not set
-       if (empty($_CONFIG['bonus_rates'])) $RANKS = array(round($_CONFIG['turbo_bonus'] / 2), round($_CONFIG['turbo_bonus'] / 4));
+       if (empty($_CONFIG['bonus_ranks'])) $RANKS = array(round($_CONFIG['turbo_bonus'] / 2), round($_CONFIG['turbo_bonus'] / 4));
 
        // Generate list
        $OUT = "<OL start=\"2\">\n";