]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_bonus.php
Fixes for turbo_rates vs. bonus_ranks
[mailer.git] / inc / modules / admin / what-config_bonus.php
index 961168604c62d4f30368044e7e44c5e4909faf52..6515531d3af7331b533f3eaf244eb769c94742f0 100644 (file)
@@ -93,7 +93,7 @@ if (isset($_POST['ok']))
        $RANKS = explode(";", $_CONFIG['turbo_rates']);
 
        // Automatically calculate bonus points for ranks 2 and 3 when not set
-       if (empty($_CONFIG['bonus_ranks'])) $RANKS = array(round($_CONFIG['turbo_bonus'] / 2), round($_CONFIG['turbo_bonus'] / 4));
+       if (empty($_CONFIG['turbo_rates'])) $RANKS = array(round($_CONFIG['turbo_bonus'] / 2), round($_CONFIG['turbo_bonus'] / 4));
 
        // Generate list
        $OUT = "<OL start=\"2\">\n";