X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffilter%2Fuser_filter.php;h=71920260f0a84127b9a88d549b464cf953d75ab6;hp=d0b8cdc5c4dbe760f484fc7ea0f11aa1a8e9dd78;hb=98e44adab9035e30efe78181b76d78c6e13ba574;hpb=ded2dfbf43a4b0eb86b7bc9e3a44c308a32b4c1e diff --git a/inc/filter/user_filter.php b/inc/filter/user_filter.php index d0b8cdc5c4..71920260f0 100644 --- a/inc/filter/user_filter.php +++ b/inc/filter/user_filter.php @@ -41,12 +41,14 @@ if (!defined('__SECURITY')) { } // 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]