mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
* CardDAV/Addressbook: do NOT add empty room number as further organizational unit
eg. OutlookSynchronizer adds the semicolon to the org-unit
This commit is contained in:
parent
56e1d3c5e5
commit
fd9367d4cf
@ -451,6 +451,10 @@ class addressbook_vcal extends addressbook_bo
|
||||
|| ($size >= 0 && !$noTruncate))
|
||||
{
|
||||
$value = Api\Translation::convert(trim($value), $sysCharSet, $_charset);
|
||||
|
||||
// do NOT add empty room number as further organizational unit, eg. OutlookSynchronizer add's the semicolon to the org-unit
|
||||
if (empty($value) && in_array($databaseField, ['room'])) continue 2;
|
||||
|
||||
$values[] = $value;
|
||||
if ($this->version == '2.1' && preg_match('/[^\x20-\x7F]/', $value))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user