]> source.dussan.org Git - nextcloud-server.git/commit
fixes an undefined index when getAccessList returns an empty array 29419/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Fri, 22 Oct 2021 20:42:25 +0000 (22:42 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Sat, 23 Oct 2021 12:48:51 +0000 (12:48 +0000)
commit5145675d43082d18b790eda1a85d666276ab071b
treea4026de353b9d89ce19a3e7a2384ebda59ca9560
parent99b151e87a2ba08d640102c1fb410e7a43a774f6
fixes an undefined index when getAccessList returns an empty array

- [] is a valid return value that should be honored as having no access

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
apps/workflowengine/lib/Entity/File.php