fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17541]


From: nelson . guerra
Subject: [Fmsystem-commits] [17541]
Date: Wed, 10 Jan 2018 21:12:18 -0500 (EST)

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


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

Modified: branches/dev-syncromind/property/inc/class.soalarm.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.soalarm.inc.php  2018-01-11 
01:23:22 UTC (rev 17540)
+++ branches/dev-syncromind/property/inc/class.soalarm.inc.php  2018-01-11 
02:12:18 UTC (rev 17541)
@@ -53,10 +53,13 @@
                                {
                                        $method_data = array();
                                        $data_set = 
unserialize($this->db->f('data'));
-                                       while (is_array($data_set) && 
list($key, $value) = each($data_set))
-                                       {
-                                               $method_data[] = $key . '=' . 
$value;
-                                       }
+                                        if (is_array($data_set))
+                                        {
+                                            foreach($data_set as $key => 
$value)
+                                            {
+                                                    $method_data[] = $key . 
'=' . $value;
+                                            }
+                                        }
 
                                        $method_data = @implode(',', 
$method_data);
                                }




reply via email to

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