]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-stats.php
Fix for #138 and some 'empty version' fixed
[mailer.git] / inc / modules / member / what-stats.php
index ef5959e75020cb81ea7d71f36e450abe4f1eaf46..b72df1819658c270f48d0a751f3618219261103e 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 11/09/2003 *
- * ===============                              Last change: 04/21/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 11/09/2003 *
+ * ===================                          Last change: 04/21/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-stats.php                                   *
@@ -58,7 +58,7 @@ WHERE
        `sender`=%s AND `data_type` != 'SEND'
 ORDER BY
        `timestamp` DESC",
-       array(getUserId()), __FILE__, __LINE__);
+       array(getMemberId()), __FILE__, __LINE__);
 
 // Are there mails left in pool?
 if (SQL_NUMROWS($result) > 0) {
@@ -108,7 +108,7 @@ WHERE
        `userid`=%s
 ORDER BY
        `timestamp_ordered` DESC",
-       array(getUserId()), __FILE__, __LINE__);
+       array(getMemberId()), __FILE__, __LINE__);
 
 if (SQL_NUMROWS($result) > 0) {
        // Mail orders are in pool so we can display them