]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-bonus.php
Fix/rewrites for if 'value' is '0' (not empty)
[mailer.git] / inc / modules / member / what-bonus.php
index f14026eb67e7a9f5e9f3a54b2c7cd2b8d99dfebf..7d878dc980dc56eb764db84f49ab90b452734a8b 100644 (file)
@@ -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);