X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_bonus.php;h=e4fcf199f38d7664f252d59468b65db915678ab9;hb=72ac9f672704438aabc4f4bada7f5c3b40499f1a;hp=ec1055e32d75316284315ec11b27d8f22dd11379;hpb=039203d5428c9c6a3bed61fb3a9a16958c6fd44c;p=mailer.git diff --git a/inc/modules/admin/what-list_bonus.php b/inc/modules/admin/what-list_bonus.php index ec1055e32d..e4fcf199f3 100644 --- a/inc/modules/admin/what-list_bonus.php +++ b/inc/modules/admin/what-list_bonus.php @@ -39,14 +39,14 @@ // Some security stuff... if ((!defined('__SECURITY')) || (!isAdmin())) { die(); -} +} // END - if // Add description as navigation point addMenuDescription('admin', __FILE__); if (getConfig('bonus_active') == 'Y') { // Shall I withdraw now? - if (isPostRequestElementSet(('withdraw'))) { + if (isPostRequestParameterSet(('withdraw'))) { // Okay, let's prepare... $curr = date('m', time()) - 1; if (strlen($curr) == 1) $curr = '0' . $curr; @@ -94,9 +94,9 @@ ORDER BY `points` DESC, `last_online` DESC, `userid` ASC", $WIN1 = ''; $WIN2 = ''; if ($cnt <= getConfig('bonus_ranks')) { // Maybe he can win his active bonus? - $WIN1 = ""; - $WIN2 = ""; - } + $WIN1 = ''; + $WIN2 = ''; + } // END - if // Prepare content $content['userid'] = generateUserProfileLink($content['userid']);