} // END - if
// Filter for returning given user's points
-function FILTER_USER_POINTS ($data) {
+function FILTER_USER_POINTS ($filterData) {
// Get the points and add them to the existing
- $data['points'] += countSumTotalData($content['userid'], 'user_points', 'points');
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
+ $filterData['points'] += countSumTotalData($content['userid'], 'user_points', 'points');
// Return the data for next filter
- return $data;
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
+ return $filterData;
}
// [EOF]