fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [17531]


From: nelson . guerra
Subject: [Fmsystem-commits] [17531]
Date: Wed, 10 Jan 2018 19:54:42 -0500 (EST)

Revision: 17531
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17531
Author:   nelson224
Date:     2018-01-10 19:54:42 -0500 (Wed, 10 Jan 2018)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.uientity.inc.php

Modified: branches/dev-syncromind/property/inc/class.uientity.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uientity.inc.php 2018-01-11 
00:36:33 UTC (rev 17530)
+++ branches/dev-syncromind/property/inc/class.uientity.inc.php 2018-01-11 
00:54:42 UTC (rev 17531)
@@ -2817,8 +2817,11 @@
                                $dateformat = 
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
 
                                $content = array();
-                               while (is_array($values) && list(, $entry) = 
each($values))
-                               {
+                               //while (is_array($values) && list(, $entry) = 
each($values))
+                                if (is_array($values))
+                                {
+                                    foreach($values as $entry)
+                                    {
                                        $content[] = array
                                                (
                                                'id' => $entry['id'],
@@ -2826,7 +2829,8 @@
                                                'user' => $entry['owner'],
                                                'time_created' => 
$GLOBALS['phpgw']->common->show_date($entry['datetime'], "{$dateformat} G:i:s")
                                        );
-                               }
+                                    }
+                                }
 
                                $draw = phpgw::get_var('draw', 'int');
                                $allrows = phpgw::get_var('length', 'int') == 
-1;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]