fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17529]


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

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


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

Modified: branches/dev-syncromind/property/inc/class.uiasync.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uiasync.inc.php  2018-01-11 
00:35:54 UTC (rev 17528)
+++ branches/dev-syncromind/property/inc/class.uiasync.inc.php  2018-01-11 
00:36:10 UTC (rev 17529)
@@ -411,10 +411,14 @@
                        {
                                $method = $this->bo->read_single($id);
                                $data_set = unserialize($method['data']);
-                               while (is_array($data_set) && list($key, 
$value) = each($data_set))
-                               {
+                               //while (is_array($data_set) && list($key, 
$value) = each($data_set))
+                                if (is_array($data_set))
+                                {
+                                    foreach($data_set as $key => $value)
+                                    {
                                        $method_data[] = $key . '=' . $value;
-                               }
+                                    }
+                                }
 
                                $method_data = @implode(',', $method_data);
                                $function_msg = lang('edit method');




reply via email to

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