X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-bonus.php;h=7d878dc980dc56eb764db84f49ab90b452734a8b;hb=0ddf8f6c578aa2c1ff1db9fb8eb0b93a1e247b73;hp=f14026eb67e7a9f5e9f3a54b2c7cd2b8d99dfebf;hpb=c8d76610eb94093d4eed4fcd8a6cb72e74c8f6d8;p=mailer.git diff --git a/inc/modules/member/what-bonus.php b/inc/modules/member/what-bonus.php index f14026eb67..7d878dc980 100644 --- a/inc/modules/member/what-bonus.php +++ b/inc/modules/member/what-bonus.php @@ -97,12 +97,8 @@ if (!SQL_HASZERONUMS($result)) { $cnt = 1; while ($content = SQL_FETCHARRAY($result)) { // Prepare data for the template - $content = array( - 'cnt' => $cnt, - 'userid' => $content['userid'], - 'points' => $content['points'], - 'last_online' => generateDateTime($content['last_online'], 2) - ); + $content['cnt'] = $cnt; + $content['last_online'] = generateDateTime($content['last_online'], 2); // Load row template $OUT .= loadTemplate('member_bonus_row', true, $content);