]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/order_filter.php
Extension ext-surfbar continued:
[mailer.git] / inc / filter / order_filter.php
index 9a37798888e585068fdcd80d9a2bdcdbdeabb752..87e17902ea587023230fffc782ad1c4555e0dd3a 100644 (file)
@@ -45,7 +45,7 @@ function FILTER_ORDER_POINTS ($data) {
        // 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