Skip to content
Commit 92ac576e authored by Christoph Wurst's avatar Christoph Wurst Committed by backportbot[bot]
Browse files

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: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
parent ac465f2c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment