From: <dj...@us...> - 2012-04-29 14:27:11
|
Revision: 9398 http://xoops.svn.sourceforge.net/xoops/?rev=9398&view=rev Author: djculex Date: 2012-04-29 14:27:04 +0000 (Sun, 29 Apr 2012) Log Message: ----------- error in count 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-04-29 14:04:19 UTC (rev 9397) +++ XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-04-29 14:27:04 UTC (rev 9398) @@ -93,7 +93,7 @@ $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>"; $i = 1; - while ($i <= count($maToday)) { + while ($i <= $count) { $mat .= vsprintf('<tr><td>%s</td>',array($maToday['counter'][$i])); $mat .= vsprintf('<td>%s</td>',array($maToday['img'][$i])); $mat .= vsprintf('<td>%s</td>',array($maToday['cnt'][$i])); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |