Revision: 1891
http://mrbs.svn.sourceforge.net/mrbs/?rev=1891&view=rev
Author: cimorrison
Date: 2011-08-26 08:23:14 +0000 (Fri, 26 Aug 2011)
Log Message:
-----------
Fixed infinite loop bug
Modified Paths:
--------------
mrbs/branches/datatables/web/edit_users.php
Modified: mrbs/branches/datatables/web/edit_users.php
===================================================================
--- mrbs/branches/datatables/web/edit_users.php 2011-08-25 16:53:13 UTC (rev
1890)
+++ mrbs/branches/datatables/web/edit_users.php 2011-08-26 08:23:14 UTC (rev
1891)
@@ -768,7 +768,7 @@
// The table body
echo "<tbody>\n";
$row_class = "odd_row";
- while ($row = sql_row_keyed($res, $i))
+ for ($i = 0; ($row = sql_row_keyed($res, $i)); $i++)
{
// Check whether ordinary users are allowed to see other users' details.
If not,
// then skip past this row if it's not the current user or the user is not
an admin
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits