fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17593]


From: nelson . guerra
Subject: [Fmsystem-commits] [17593]
Date: Mon, 15 Jan 2018 22:42:13 -0500 (EST)

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


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

Modified: branches/dev-syncromind/addressbook/inc/class.uivcard.inc.php
===================================================================
--- branches/dev-syncromind/addressbook/inc/class.uivcard.inc.php       
2018-01-16 03:41:58 UTC (rev 17592)
+++ branches/dev-syncromind/addressbook/inc/class.uivcard.inc.php       
2018-01-16 03:42:13 UTC (rev 17593)
@@ -130,7 +130,8 @@
                        {
                                // locations[loc_id][type] is work or home
                                // loc_id is not  interested here, but the type 
is important!
-                               while ( list($loc_id, $loc_data) = 
each($fieldlist['locations']) )
+                               //while ( list($loc_id, $loc_data) = 
each($fieldlist['locations']) )
+                                foreach($fieldlist['locations'] as $loc_id => 
$loc_data)
                                {
                                        $loc_type_id = 
$this->contacts->search_location_type($loc_data['type']);
                                        switch($loc_type_id)
@@ -219,7 +220,8 @@
                                $myexport = $this->vcard->export;
                                // check that each $fields exists in the export 
array and
                                // set a new array to equal the translation and 
original value
-                               while( list($name,$value) = each($fields) )
+                               //while( list($name,$value) = each($fields) )
+                                foreach($fields as $name => $value)
                                {
                                        if ($myexport[$name] && ($value != "") )
                                        {




reply via email to

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