* CardDAV/Addressbook: fix GET request regression after REST API introduction

This commit is contained in:
Ralf Becker 2021-12-16 19:53:04 +02:00
parent 9ab621e054
commit 676fe9b36f

View File

@ -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;
}