* 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 22856798e3
commit 5a2eb5b987

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