Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117904162
D5226.1775386399.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1011 B
Referenced Files
None
Subscribers
None
D5226.1775386399.diff
View Options
diff --git a/lib/ext/Syncroton/Model/AXMLEntry.php b/lib/ext/Syncroton/Model/AXMLEntry.php
--- a/lib/ext/Syncroton/Model/AXMLEntry.php
+++ b/lib/ext/Syncroton/Model/AXMLEntry.php
@@ -50,7 +50,7 @@
foreach ($this->_elements as $elementName => $value) {
// skip empty values
- if ($value === null || $value === '' || (is_array($value) && empty($value))) {
+ if ($value === null || (is_array($value) && empty($value))) {
continue;
}
diff --git a/lib/kolab_sync_data_contacts.php b/lib/kolab_sync_data_contacts.php
--- a/lib/kolab_sync_data_contacts.php
+++ b/lib/kolab_sync_data_contacts.php
@@ -205,6 +205,11 @@
}
}
+ // Outlook's synchronization will break with an empty contact (no nodes under ApplicationData)
+ if (empty($result['firstName']) && empty($result['lastName'])) {
+ $result['firstName'] = '';
+ }
+
return new Syncroton_Model_Contact($result);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 5, 10:53 AM (14 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18833237
Default Alt Text
D5226.1775386399.diff (1011 B)
Attached To
Mode
D5226: Make sure we always have at least a name in the contact
Attached
Detach File
Event Timeline