fix: out of order when database is not sqlite3 (#6560)
This commit is contained in:
@ -34,6 +34,7 @@ func initSettings() {
|
||||
// create or save setting
|
||||
for i := range initialSettingItems {
|
||||
item := &initialSettingItems[i]
|
||||
item.Index = uint(i)
|
||||
if item.PreDefault == "" {
|
||||
item.PreDefault = item.Value
|
||||
}
|
||||
|
Reference in New Issue
Block a user