// Filter for returning given user's order points
function FILTER_ORDER_POINTS ($filterData) {
- // Is ext-user installed and active?
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
+ // Is ext-user installed and active?
if (isExtensionActive('user')) {
// Get the points and add them to the existing
$filterData['points'] += countSumTotalData($filterData['userid'], 'user_points', 'order_points');