- unsetGetRequestParameter('frame');
- } elseif ((isGetRequestParameterSet('frame')) && (getRequestParameter('frame') == 'stats')) {
- // Get total points amount
- $points = countSumTotalData(getMemberId(), 'user_points', 'points') - countSumTotalData(getMemberId(), 'user_data', 'used_points');
-
+ unsetGetRequestElement('frame');
+ } elseif ((!isFullPage()) && (getRequestElement('frame') == 'stats')) {