]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/earning_filter.php
Extension ext-admins updated:
[mailer.git] / inc / filter / earning_filter.php
index 3378375c5fd0cc65091cb4c1a848d5082769bef4..8efff96a8ceb0378ddb6322eef8f42e6bd234c75 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 *
@@ -52,7 +52,7 @@ function FILTER_ADD_EARNING_GROUP_POPUP ($filterData) {
        // Now check if the user has subscription and amount left
        $result = SQL_QUERY_ESC("SELECT
        d.`earning_id`,
-       d.`earning_name`,
+       d.`earning_provider`,
        u.`earning_current_amount`,
        u.`earning_daily_amount`
 FROM
@@ -80,7 +80,7 @@ ORDER BY
                        $content = merge_array($content, $filterData);
 
                        // Construct callback function name
-                       $callbackName = 'get' . capitalizeUnderscoreString($content['earning_name']) . 'DataByEarningArray';
+                       $callbackName = 'get' . capitalizeUnderscoreString($content['earning_provider']) . 'DataByEarningArray';
 
                        // And call it
                        $content = call_user_func($callbackName, $content);