fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17620]


From: nelson . guerra
Subject: [Fmsystem-commits] [17620]
Date: Wed, 17 Jan 2018 18:36:29 -0500 (EST)

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


Modified Paths:
--------------
    branches/dev-syncromind/addressbook/inc/export/Palm_PDB

Modified: branches/dev-syncromind/addressbook/inc/export/Palm_PDB
===================================================================
--- branches/dev-syncromind/addressbook/inc/export/Palm_PDB     2018-01-17 
23:36:14 UTC (rev 17619)
+++ branches/dev-syncromind/addressbook/inc/export/Palm_PDB     2018-01-17 
23:36:29 UTC (rev 17620)
@@ -187,10 +187,14 @@
                                $j = $i + 1;
                                reset($this->export);
                                $entries .= "#" . $j . ":" . 
$buffer[$i]['n_given'] . $buffer[$i]['n_family'] . "\r\n";
-                               while (list($name,$value)=each($this->export))
-                               {
+                               //while (list($name,$value)=each($this->export))
+                                if (is_array($this->export))
+                                {
+                                    foreach($this->export as $name => $value)
+                                    {
                                        $entries .= $value . ":\t" . 
$buffer[$i][$value] . "\n";
-                               }
+                                    }
+                                }
                                $entries .= "\r\n";
                        }
 




reply via email to

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