summaryrefslogtreecommitdiff
path: root/system/db/config.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-22 13:11:14 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-22 13:11:14 -0800
commit0ca645c0b75752e38d4ddde3c10849a25bb8b53b (patch)
tree81e5e276a6dbd1442b1008f287d14c2534b14ca0 /system/db/config.go
parentd4e33e1dc950664b653ae3a388b237112b1bfb3a (diff)
adding fix for js in repeaters (mainly FileRepeater) and cleanup of form value transforms
Diffstat (limited to 'system/db/config.go')
-rw-r--r--system/db/config.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/db/config.go b/system/db/config.go
index 0e49307..ce76021 100644
--- a/system/db/config.go
+++ b/system/db/config.go
@@ -34,10 +34,11 @@ func SetConfig(data url.Values) error {
if data.Get(key) == "" {
data.Set(key, v[0])
- discardKeys = append(discardKeys, k)
} else {
data.Add(key, v[0])
}
+
+ discardKeys = append(discardKeys, k)
}
}