// Is ext-user installed and active?
if (isExtensionActive('user')) {
// Get the points and add them to the existing
- $data['points'] += countSumTotalData($content['userid'], 'user_points', 'order_points');
+ $data['points'] += countSumTotalData($data['userid'], 'user_points', 'order_points');
} // END - if
// Return the data for next filter