]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/user_filter.php
Important notice added
[mailer.git] / inc / filter / user_filter.php
index 71920260f0a84127b9a88d549b464cf953d75ab6..a98c45be3f6c55194fa47519830bab9be3ca28f8 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -44,7 +44,7 @@ if (!defined('__SECURITY')) {
 function FILTER_USER_POINTS ($filterData) {
        // Get the points and add them to the existing
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
-       $filterData['points'] += countSumTotalData($content['userid'], 'user_points', 'points');
+       $filterData['points'] += countSumTotalData($filterData['userid'], 'user_points', 'points');
 
        // Return the data for next filter
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');