X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_bonus.php;h=7b3524d3cdba3dfb0b3a7374b6c47be13cccc593;hb=8ce32e702f3caa76b8d446902948e83e1e6854c8;hp=085c941d54a8dd3723e07357ead14bb727081370;hpb=0f3a135204757cc8750262871c8e62c42300acb4;p=mailer.git diff --git a/inc/modules/admin/what-list_bonus.php b/inc/modules/admin/what-list_bonus.php index 085c941d54..7b3524d3cd 100644 --- a/inc/modules/admin/what-list_bonus.php +++ b/inc/modules/admin/what-list_bonus.php @@ -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 = ''; $WIN2 = '';