]> git.mxchange.org Git - mailer.git/blobdiff - inc/referal-functions.php
Extension ext-network continued (sorry guys for all these splitted commits):
[mailer.git] / inc / referal-functions.php
index 636d88aacbbedf138eac9c5a1bc118ca9777f5ef..b1e82a13e244e452598fb144e9fe56212d81a967 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 *
@@ -223,7 +223,7 @@ function addPointsThroughReferalSystem ($subject, $userid, $points, $refid = NUL
 
                                // And sent it away
                                sendEmail($userid, '{--DIRECT_PAYMENT_SUBJECT--}', $message);
-                               if (!isGetRequestParameterSet('mid')) {
+                               if (!isGetRequestElementSet('mid')) {
                                        // Output message to admin
                                        displayMessage('{--ADMIN_POINTS_ADDED--}');
                                } // END - if
@@ -373,12 +373,6 @@ ORDER BY
        if (!SQL_HASZERONUMS($result)) {
                // Fetch all entries
                while ($row = SQL_FETCHARRAY($result)) {
-                       // Get total points of this user
-                       $row['points'] = getTotalPoints($row['refid']);
-
-                       // Get unconfirmed mails
-                       $row['unconfirmed'] = getTotalUnconfirmedMails($row['refid']);
-
                        // Init click rate with zero
                        $row['click_rate'] = '0';