[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17616]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [17616] |
Date: |
Wed, 17 Jan 2018 18:22:45 -0500 (EST) |
Revision: 17616
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17616
Author: nelson224
Date: 2018-01-17 18:22:45 -0500 (Wed, 17 Jan 2018)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/addressbook/inc/import/Import_Multiple_VCard
Modified: branches/dev-syncromind/addressbook/inc/import/Import_Multiple_VCard
===================================================================
--- branches/dev-syncromind/addressbook/inc/import/Import_Multiple_VCard
2018-01-17 23:22:28 UTC (rev 17615)
+++ branches/dev-syncromind/addressbook/inc/import/Import_Multiple_VCard
2018-01-17 23:22:45 UTC (rev 17616)
@@ -55,12 +55,16 @@
function import_end_record($buffer)
{
$buffer[$this->id]='';
- while ( list($name, $value) =
each($this->currentrecord))
- {
+ //while ( list($name, $value) =
each($this->currentrecord))
+ if (is_array($this->currentrecord))
+ {
+ foreach($this->currentrecord as $name => $value)
+ {
$buffer[$this->id][$name] = $value;
/* $buffer[$this->id]['private'] = $private; */
/* echo '<br />'.$name.' => '.$value; */
- }
+ }
+ }
return $buffer;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17616],
nelson . guerra <=