fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17594]


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

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


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

Modified: branches/dev-syncromind/addressbook/inc/export/Netscape_LDIF
===================================================================
--- branches/dev-syncromind/addressbook/inc/export/Netscape_LDIF        
2018-01-16 03:42:13 UTC (rev 17593)
+++ branches/dev-syncromind/addressbook/inc/export/Netscape_LDIF        
2018-01-16 03:42:27 UTC (rev 17594)
@@ -179,13 +179,17 @@
                        {
                                $entries .= 'dn: ' . $buffer[$i]['dn'] . "\n";
                                reset($this->export);
-                               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)
+                                    {
                                        if ($value != 'dn')
                                        {
                                                $entries .= $value . ":" . 
$buffer[$i][$value] . "\n";
                                        }
-                               }
+                                    }
+                                }
                                $entries .= 'xmozillauseconferenceserver: ' . 
$buffer[$i]['xmozillauseconferenceserver'] . "\n";
                                $entries .= 'xmozillanickname: '            . 
$buffer[$i]['xmozillanickname'] . "\n";
                                $entries .= 'xmozillausehtmlmail: '         . 
$buffer[$i]['xmozillausehtmlmail'] . "\n";




reply via email to

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