From 4d7db4e75dd5b70a1844930c3d2e1359503946b8 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 2 Oct 2012 05:21:06 +0000 Subject: [PATCH] fixed invalid xml in CardDAV:principal-address property of pricipal collection --- phpgwapi/inc/class.groupdav_principals.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.groupdav_principals.inc.php b/phpgwapi/inc/class.groupdav_principals.inc.php index aed7d19cbc..8f2a30d0f1 100644 --- a/phpgwapi/inc/class.groupdav_principals.inc.php +++ b/phpgwapi/inc/class.groupdav_principals.inc.php @@ -954,8 +954,8 @@ class groupdav_principals extends groupdav_handler // CardDAV 'addressbook-home-set' => HTTP_WebDAV_Server::mkprop(groupdav::CARDDAV,'addressbook-home-set',$addressbooks), 'principal-address' => HTTP_WebDAV_Server::mkprop(groupdav::CARDDAV,'principal-address', - $GLOBALS['egw_info']['user']['preferences']['addressbook']['hide_accounts'] ? '' : - HTTP_WebDAV_Server::mkprop('href',$this->base_uri.'/addressbook-accounts/'.$account['person_id'].'.vcf')), + $GLOBALS['egw_info']['user']['preferences']['addressbook']['hide_accounts'] ? '' : array( + HTTP_WebDAV_Server::mkprop('href',$this->base_uri.'/addressbook-accounts/'.$account['person_id'].'.vcf'))), // CardDAV directory 'directory-gateway' => HTTP_WebDAV_Server::mkprop(groupdav::CARDDAV, 'directory-gateway',array( HTTP_WebDAV_Server::mkprop('href', $this->base_uri.'/addressbook/'))),