Christoph Haas 2018-03-08 01:23:06 +01:00
parent b975c17812
commit 481fc70ca0

View File

@ -156,7 +156,6 @@ class ContactModule extends Module
$importAll = true; $importAll = true;
} }
$propValuesMAPI = array();
$properties = $this->getProperties(); $properties = $this->getProperties();
$properties = $this->replaceStringPropertyTags($store, $properties); $properties = $this->replaceStringPropertyTags($store, $properties);
$count = 0; $count = 0;
@ -164,6 +163,8 @@ class ContactModule extends Module
// iterate through all contacts and import them :) // iterate through all contacts and import them :)
foreach ($contacts as $contact) { foreach ($contacts as $contact) {
if (isset($contact["display_name"]) && ($importAll || in_array($contact["internal_fields"]["contact_uid"], $uids))) { if (isset($contact["display_name"]) && ($importAll || in_array($contact["internal_fields"]["contact_uid"], $uids))) {
$propValuesMAPI = array();
// parse the arraykeys // parse the arraykeys
// TODO: this is very slow... // TODO: this is very slow...
foreach ($contact as $key => $value) { foreach ($contact as $key => $value) {