X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=show_bonus.php;h=90b0024e5ccbcbc9a33a5124be47001cd785eee1;hb=76740e48546bb3fdb9fca65d8d205765f2bd4d68;hp=319b15d7229bb08af61a106540f13131ba6ab473;hpb=c3b4eaf29946349ff058691db2dcb615a5379bb2;p=mailer.git diff --git a/show_bonus.php b/show_bonus.php index 319b15d722..90b0024e5c 100644 --- a/show_bonus.php +++ b/show_bonus.php @@ -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')));