Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / modules / guest / what-active.php
index 04057fc4d170058d58e0a5f5e618ec0f0b695272..5c7c03c0a8763760218d1b092eb559bcf9c1730e 100644 (file)
@@ -11,7 +11,7 @@
  * Kurzbeschreibung  : Liste heutiger aktiver Mitglieder                *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2015 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -58,7 +58,7 @@ ORDER BY
 LIMIT {?active_limit?}", __FILE__, __LINE__);
 
 // Entries found?
-if (!ifSqlHasZeroNums($result)) {
+if (!ifSqlHasZeroNumRows($result)) {
        // At least one member was online so let's load them all
        $OUT = '';
        while ($content = sqlFetchArray($result)) {