]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_payouts.php
Added listing of sub id enhanced referral links in member area + used sub id in refer...
[mailer.git] / inc / modules / admin / what-list_payouts.php
index fd368ebdeeaf45666c59869d2c44ec26371b2f4e..c52066f03f1029092a67dba65a01cfd7d738d4e3 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * 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 *
@@ -70,7 +70,7 @@ if (isGetRequestElementSet('pid')) {
                // Load user's data
                if (!fetchUserData($userid)) {
                        // Abort here because it is not valid!
-                       debug_report_bug(__FILE__, __LINE__, 'No user account ' . $userid . ' found.');
+                       reportBug(__FILE__, __LINE__, 'No user account ' . $userid . ' found.');
                } // END - if
 
                if ((getRequestElement('do') == 'accept') && (getUserData('email') != '')) {
@@ -89,7 +89,13 @@ if (isGetRequestElementSet('pid')) {
                                if (!empty($ptype)) {
                                        // Obtain data from payout type
                                        $result = SQL_QUERY_ESC("SELECT
-       `from_account`,`from_pass`,`engine_url`,`engine_ret_ok`,`engine_ret_failed`,`pass_enc`,`allow_url`
+       `from_account`,
+       `from_pass`,
+       `engine_url`,
+       `engine_ret_ok`,
+       `engine_ret_failed`,
+       `pass_enc`,
+       `allow_url`
 FROM
        `{?_MYSQL_PREFIX?}_payout_types`
 WHERE
@@ -131,7 +137,7 @@ LIMIT 1",
                                                // Clear task
                                                if ($taskId > 0) {
                                                        runFilterChain('solve_task', $taskId);
-                                               }
+                                               } // END - if
 
                                                // Clear payout request
                                                SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_payouts` SET `status`='ACCEPTED' WHERE `id`=%s LIMIT 1",