Workaround for improper boolean handling

Since laravel only takes 1, 0, true, false, "1", and "0" instead of allowing "true" and "false".
This commit is contained in:
tenten8401 2017-11-20 09:47:49 -05:00 committed by GitHub
parent 3e8514b966
commit 5d98fc327b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@
"name": "OxideMod", "name": "OxideMod",
"description": "Set whether you want the server to use and auto update OxideMod or not. Valid options are \"1\" for true and \"0\" for false.", "description": "Set whether you want the server to use and auto update OxideMod or not. Valid options are \"1\" for true and \"0\" for false.",
"env_variable": "OXIDE", "env_variable": "OXIDE",
"default_value": "false", "default_value": "0",
"user_viewable": 1, "user_viewable": 1,
"user_editable": 1, "user_editable": 1,
"rules": "required|boolean" "rules": "required|boolean"