0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00

🐛 Fixed force_i18n import validation error

closes #10580

- The validation was failing because boolean values in settings can also be "0" and "1". 04c60b4ce1 explains the reason why these 2 new values are allowed
This commit is contained in:
Nazar Gargol 2019-03-07 16:11:49 +08:00
parent 363d10cc29
commit 3124d23ccf

View file

@ -56,7 +56,7 @@
"defaultValue": "true",
"validations": {
"isEmpty": false,
"isIn": [["true", "false"]]
"isIn": [["true", "false", "0", "1"]]
}
},
"permalinks": {