]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-usr_online.php
Fix for non-working what-config_payouts
[mailer.git] / inc / modules / admin / what-usr_online.php
index f5dee9dc55c756329a36dfdff422459a50763617..2d086315d5b92a414a157faa681b5b88aa494b10 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 *
@@ -55,7 +55,7 @@ if (isExtensionActive('online')) {
        loadTemplate('admin_mini_online', false, $content);
 
        // Check for online users
-       $result = SQL_QUERY("SELECT `id`, `ip`, `userid`, `refid`, `module`, `action`, `what`, `is_member`, `is_admin`, `timestamp` FROM `{?_MYSQL_PREFIX?}_online` ORDER by `timestamp` DESC",
+       $result = SQL_QUERY("SELECT `id`,`ip`,`userid`,`refid`,`module`,`action`,`what`,`is_member`,`is_admin`,`timestamp` FROM `{?_MYSQL_PREFIX?}_online` ORDER by `timestamp` DESC",
                __FILE__, __LINE__);
        if (!SQL_HASZERONUMS($result)) {
                // List all online users
@@ -90,7 +90,7 @@ if (isExtensionActive('online')) {
        } // END - if
 } else {
        // Online statistics deactivated!
-       loadTemplate('admin_settings_saved', false, '{--ONLINE_STATISTICS_DEACTIVATED--}');
+       displayMessage('{--ONLINE_STATISTICS_DEACTIVATED--}');
 }
 
 // [EOF]