nextcloud-server/apps
Christoph Wurst 02fa3253fe
Fix undefined index and consequential damages in versions code
If the user has no space and there are no versions, there won't be an
`all` index in the versions entry. Hence this triggers a warning and
becomes `null`, afterwards `count`, `foreach` and friends will happily
throw even more warnings and errors because they don't want to play with
`null`. Thus adding a fallback to an empty array.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-12 22:17:06 +02:00
..
accessibility
admin_audit
cloud_federation_api
comments
contactsinteraction
dashboard
dav
encryption
federatedfilesharing
federation
files
files_external
files_sharing
files_trashbin
files_versions Fix undefined index and consequential damages in versions code 2020-10-12 22:17:06 +02:00
lookup_server_connector
oauth2
provisioning_api
settings
sharebymail
systemtags
testing
theming
twofactor_backupcodes
updatenotification
user_ldap
user_status
weather_status
workflowengine