From eef63477c5461f204068216d1b5488d9e565735f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 1 Oct 2012 14:16:18 +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 26c70341b5..5caf571eb5 100644 --- a/phpgwapi/inc/class.groupdav_principals.inc.php +++ b/phpgwapi/inc/class.groupdav_principals.inc.php @@ -956,8 +956,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/'))),