]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/online_functions.php
Failed SQL queries are now also reported in bug mails, SQL queries improved (more...
[mailer.git] / inc / libs / online_functions.php
index 95643bc0cd474b3ef85e4d0e14af0017eb95a604..91c84f1158bb5984491dad8c3f0accc290acd9b6 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 12/18/2008 *
- * ================                             Last change: 12/18/2008 *
+ * Mailer v0.2.1-FINAL                                Start: 12/18/2008 *
+ * ===================                          Last change: 12/18/2008 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : online_functions.php                             *
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -53,14 +54,14 @@ function FILTER_UPDATE_ONLINE_LIST () {
        } // END - if
 
        // Initialize variables
-       $userid = 0;
+       $userid = '0';
        $MEM = 'N';
        $ADMIN = 'N';
 
        // Valid userid?
-       if ((isUserIdSet()) && (getUserId() > 0) && (isMember())) {
+       if ((isMemberIdSet()) && (getMemberId() > 0) && (isMember())) {
                // Is valid user
-               $userid = getUserId();
+               $userid = getMemberId();
                $MEM = 'Y';
        } // END - if