Skip to content
Unverified Commit 02fa3253 authored by Christoph Wurst's avatar Christoph Wurst Committed by Morris Jobke
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 deb499d3
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