diff --git a/js/App.js b/js/App.js index 67d932369..db1e7459e 100644 --- a/js/App.js +++ b/js/App.js @@ -43,8 +43,9 @@ const App = { return this.button_tag(value, "", {...{onclick: "App.dialogOf(this).hide()"}, ...attributes}); }, checkbox_tag: function(name, checked = false, value = "", attributes = {}, id = "") { + // checked !== '0' prevents mysql "boolean" false to be implicitly cast as true return `` },