[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17638]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [17638] |
Date: |
Thu, 18 Jan 2018 18:53:09 -0500 (EST) |
Revision: 17638
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17638
Author: nelson224
Date: 2018-01-18 18:53:09 -0500 (Thu, 18 Jan 2018)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/admin/inc/class.boaccess_history.inc.php
Modified: branches/dev-syncromind/admin/inc/class.boaccess_history.inc.php
===================================================================
--- branches/dev-syncromind/admin/inc/class.boaccess_history.inc.php
2018-01-18 23:52:45 UTC (rev 17637)
+++ branches/dev-syncromind/admin/inc/class.boaccess_history.inc.php
2018-01-18 23:53:09 UTC (rev 17638)
@@ -21,8 +21,11 @@
function list_history($account_id,$start,$order,$sort)
{
$records =
$this->so->list_history($account_id,$start,$order,$sort);
- while (is_array($records) && list(,$record) =
each($records))
- {
+ //while (is_array($records) && list(,$record) =
each($records))
+ if (is_array($records))
+ {
+ foreach($records as $key => $record)
+ {
if ($record['li'] && $record['lo'])
{
$total = ($record['lo'] -
$record['li']);
@@ -69,7 +72,8 @@
'sessionid' => $record['sessionid'],
'total' => $total
);
- }
+ }
+ }
return $_records;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17638],
nelson . guerra <=