fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17590]


From: nelson . guerra
Subject: [Fmsystem-commits] [17590]
Date: Mon, 15 Jan 2018 20:53:20 -0500 (EST)

Revision: 17590
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17590
Author:   nelson224
Date:     2018-01-15 20:53:20 -0500 (Mon, 15 Jan 2018)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/addressbook/inc/class.remote.inc.php

Modified: branches/dev-syncromind/addressbook/inc/class.remote.inc.php
===================================================================
--- branches/dev-syncromind/addressbook/inc/class.remote.inc.php        
2018-01-16 01:52:57 UTC (rev 17589)
+++ branches/dev-syncromind/addressbook/inc/class.remote.inc.php        
2018-01-16 01:53:20 UTC (rev 17590)
@@ -94,7 +94,8 @@
                        {
                                if(is_array($value))
                                {
-                                       while(list($x,$y) = @each($value))
+                                       //while(list($x,$y) = @each($value))
+                                        foreach($value as $x => $y)
                                        {
                                                /* Fill a new output array, but 
do not include things like array( 0 => mail) */
                                                
if(isset($this->servers[$this->serverid]['attrs']) &&
@@ -117,7 +118,8 @@
                {
                        if(is_array($in))
                        {
-                               while(list($key,$value) = each($in))
+                               //while(list($key,$value) = each($in))
+                                foreach($in as $key => $value)
                                {
                                        $out[] = array(
                                                'fn'       => $value['cn'][0],




reply via email to

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