[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17615]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [17615] |
Date: |
Wed, 17 Jan 2018 18:22:29 -0500 (EST) |
Revision: 17615
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17615
Author: nelson224
Date: 2018-01-17 18:22:28 -0500 (Wed, 17 Jan 2018)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/addressbook/inc/import/Import_from_Outlook_-_Dutch
Modified:
branches/dev-syncromind/addressbook/inc/import/Import_from_Outlook_-_Dutch
===================================================================
--- branches/dev-syncromind/addressbook/inc/import/Import_from_Outlook_-_Dutch
2018-01-17 23:22:13 UTC (rev 17614)
+++ branches/dev-syncromind/addressbook/inc/import/Import_from_Outlook_-_Dutch
2018-01-17 23:22:28 UTC (rev 17615)
@@ -143,11 +143,15 @@
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;
//echo '<br>'.$name.' => '.$value;
- }
+ }
+ }
return $buffer;
}
@@ -157,11 +161,15 @@
//echo '<br>';
for ($i=1;$i<=count($buffer);$i++)
{
- while ( list($name,$value) = @each($buffer[$i])
)
- {
+ //while ( list($name,$value) =
@each($buffer[$i]) )
+ if (is_array($buffer[$i]))
+ {
+ foreach($buffer[$i] as $name => $value)
+ {
//echo '<br>'.$i.': '.$name.' =>
'.$value;
$entry[$i][$name] = $value;
- }
+ }
+ }
$entry[$i]['email_type'] = 'INTERNET';
$entry[$i]['email_home_type'] = 'INTERNET';
$entry[$i]['adr_one_type'] = 'intl';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17615],
nelson . guerra <=