X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=show_bonus.php;h=90b0024e5ccbcbc9a33a5124be47001cd785eee1;hb=cc5fcb5c6db358d2b41f3a4477d0d4303fdd859f;hp=4fe60e59eb2b96ad04a51b08caa4781447ba9599;hpb=c8d76610eb94093d4eed4fcd8a6cb72e74c8f6d8;p=mailer.git diff --git a/show_bonus.php b/show_bonus.php index 4fe60e59eb..90b0024e5c 100644 --- a/show_bonus.php +++ b/show_bonus.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -78,7 +78,7 @@ if ((isValidUserId(getRequestParameter('userid'))) && (getRequestParameter('d') if (!empty($t)) { // Check for data $result = SQL_QUERY_ESC("SELECT - d.`gender`, d.`surname`, d.`family`, b.`level`, b.`points` + d.`userid`, b.`level`, b.`points` FROM `{?_MYSQL_PREFIX?}_user_data` AS d INNER JOIN @@ -102,7 +102,6 @@ LIMIT 1", $content = SQL_FETCHARRAY($result); // Prepare constants for the pre-template - // @TODO No more needed? $content['points'] = translateComma($content['points']); $content['mailid'] = bigintval(getRequestParameter('d')); $content['rows'] = addBonusRanks(bigintval(getRequestParameter('d')), $t, bigintval(getRequestParameter('userid')));