mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +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
6b1c71c2b2
commit
f4af341919
@ -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