[eGroupWare-svn] r55888 - /trunk/addressbook/inc/class.addressbook_vcal.inc.php
| Newsgroups | gmane.comp.web.egroupware.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ralfbecker
Date: Wed Apr 27 16:46:44 2016
New Revision: 55888
URL: http://svn.stylite.de/viewvc/egroupware?rev=55888&view=rev
Log:
* CardDAV: SoGo and Busycontacts without all name- or organisation components use last value for missing ones
eg. "N:Lastname;Firstname" would also set middle-name, prefix and sufix with "Firstname", same with "ORG:Organisation" would set department and position with "Organisation"
Modified:
trunk/addressbook/inc/class.addressbook_vcal.inc.php
Modified: trunk/addressbook/inc/class.addressbook_vcal.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/addressbook/inc/class.addressbook_vcal.inc.php?rev=55888&r1=55887&r2=55888&view=diff
==============================================================================
--- trunk/addressbook/inc/class.addressbook_vcal.inc.php (original)
+++ trunk/addressbook/inc/class.addressbook_vcal.inc.php Wed Apr 27 16:46:44 2016
@@ -929,10 +929,8 @@
{
if (!empty($fieldName))
{
- if (is_scalar($vcardValues[$vcardKey]['values'][$fieldKey]))
- {
- $value = trim($vcardValues[$vcardKey]['values'][$fieldKey]);
- }
+ $value = trim($vcardValues[$vcardKey]['values'][$fieldKey]);
+
if ($pref_tel && (($vcardKey == $pref_tel) ||
($vcardValues[$vcardKey]['name'] == 'TEL') &&
($vcardValues[$vcardKey]['value'] == $vcardValues[$pref_tel]['value'])))
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z