fix: jsonData should not be allowed to be null, fixes #9258

This commit is contained in:
Torkel Ödegaard 2017-09-18 09:38:02 +02:00
parent 085245f97d
commit 24d69ca205

View File

@ -62,6 +62,8 @@ func getFrontendSettingsMap(c *middleware.Context) (map[string]interface{}, erro
if ds.JsonData != nil {
dsMap["jsonData"] = ds.JsonData
} else {
dsMap["jsonData"] = make(map[string]string)
}
if ds.Access == m.DS_ACCESS_DIRECT {