From 676fe9b36f723a0bd9b4afceeda5d86799734675 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 16 Dec 2021 19:53:04 +0200 Subject: [PATCH] * CardDAV/Addressbook: fix GET request regression after REST API introduction --- addressbook/inc/class.addressbook_groupdav.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_groupdav.inc.php b/addressbook/inc/class.addressbook_groupdav.inc.php index 4114bf9a5e..4b2a325a16 100644 --- a/addressbook/inc/class.addressbook_groupdav.inc.php +++ b/addressbook/inc/class.addressbook_groupdav.inc.php @@ -1118,7 +1118,7 @@ class addressbook_groupdav extends Api\CalDAV\Handler } } // json with uid - elseif (empty(self::$path_extension) && (string)$id !== (string)(int)$id) + elseif (empty(self::$path_extension) && self::$path_attr === 'id' && (string)$id !== (string)(int)$id) { $keys['uid'] = $id; }