Skip to content
Unverified Commit 8e8e9120 authored by Daniel Kesselberg's avatar Daniel Kesselberg
Browse files

Make sure quota_preset is using numerical indexes



If one set quota_present to "default, none, 1 GB, 5 GB, 10 GB" the old implementation will remove default and none but keep the array indexes. Later json_encode will recognize a array with 2 as first index as object and hence quotaPreset.reduce will fail.

Signed-off-by: default avatarDaniel Kesselberg <mail@danielkesselberg.de>
parent daf1d74a
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