X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=surfbar.php;h=4bfb8caaaf44ed98aa718246ce9f4234a7a9ecbc;hb=95e7ebcc079858e287ea182a03cd372df0d0934f;hp=63facf329f15a92886fa1e1fabc9bd9c8fb0a6d7;hpb=9bc2a494fae1a98f0873a6f3bd8c878b09124b9f;p=mailer.git diff --git a/surfbar.php b/surfbar.php index 63facf329f..4bfb8caaaf 100644 --- a/surfbar.php +++ b/surfbar.php @@ -122,12 +122,9 @@ if ((SURFBAR_CHECK_RELOAD_FULL()) || ((isGetRequestParameterSet('frame')) && (in // This makes the footer appear again unsetGetRequestParameter('frame'); } elseif ((isGetRequestParameterSet('frame')) && (getRequestParameter('frame') == 'stats')) { - // Get total points amount - $points = countSumTotalData(getMemberId(), 'user_points', 'points') - countSumTotalData(getMemberId(), 'user_data', 'used_points'); - // Prepare content $content = array( - 'points' => $points, + 'points' => getTotalPoints(getMemberId()), 'reload' => (getConfig('surfbar_stats_reload') * 1000) );