]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_bonus.php
Fixes loading of network type config
[mailer.git] / inc / modules / admin / what-list_bonus.php
index 085c941d54a8dd3723e07357ead14bb727081370..7b3524d3cdba3dfb0b3a7374b6c47be13cccc593 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -45,7 +45,7 @@ addYouAreHereLink('admin', __FILE__);
 
 if (isBonusRallyeActive()) {
        // Shall I withdraw now?
-       if (isPostRequestParameterSet('withdraw')) {
+       if (isPostRequestElementSet('withdraw')) {
                // Okay, let's prepare...
                $curr = getMonth() - 1;
                if (strlen($curr) == 1) $curr = '0' . $curr;
@@ -78,9 +78,6 @@ if (isBonusRallyeActive()) {
        $result = SQL_QUERY("SELECT
        `userid`,
        `email`,
-       `gender`,
-       `surname`,
-       `family`,
        " . $USE . " AS `points`,
        `last_online`
 FROM
@@ -105,7 +102,7 @@ ORDER BY
 
                        // Generate array fore the dynamic template
                        $WIN1 = ''; $WIN2 = '';
-                       if ($count <= getConfig('bonus_ranks')) {
+                       if ($count <= getBonusRanks()) {
                                // Maybe he can win his active bonus?
                                $WIN1 = '<strong>';
                                $WIN2 = '</strong>';