|
From: <dj...@us...> - 2012-01-22 16:17:54
|
Revision: 8777
http://xoops.svn.sourceforge.net/xoops/?rev=8777&view=rev
Author: djculex
Date: 2012-01-22 16:17:48 +0000 (Sun, 22 Jan 2012)
Log Message:
-----------
Mis count array in admin/index.php
Modified Paths:
--------------
XoopsModules/smallworld/trunk/smallworld/admin/index.php
Modified: XoopsModules/smallworld/trunk/smallworld/admin/index.php
===================================================================
--- XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-01-22 16:14:22 UTC (rev 8776)
+++ XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-01-22 16:17:48 UTC (rev 8777)
@@ -74,7 +74,7 @@
// Find list of most active users (24 hours)
$maToday = $admin->mostactiveusers_today();
$mat_cnt = 0;
- if (count(array($maToday)) > 0) {
+ if (count($maToday) != 0) {
$mat_cnt = 1;
$mat = "<table class='smallworldadmin'><tr>";
$mat .= "<td><b>"._AM_SMALLWORLD_STATS_POS."</b></td><td><b>"._AM_SMALLWORLD_STATS_IMG."</b></td><td><b>"._AM_SMALLWORLD_STATS_AMOUNT."</b></td><td><b>"._AM_SMALLWORLD_STATS_NAME."</b></td></tr>";
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|