diff options
author | Andrew Dolgov <[email protected]> | 2017-12-02 14:07:48 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-12-02 14:07:48 +0300 |
commit | da9ea57d1c1602899111df615639d9f013f7226f (patch) | |
tree | 7568296421390ad0343a3ccfcae8e283a10e1586 /include | |
parent | 7ccb4e91ff45cab907b43de1cc36a3b0ab5a025d (diff) |
checkbox to sql bool related changes, some more boolean fixes
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php index 0b301b82e..887de1c81 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1057,7 +1057,7 @@ } function checkbox_to_sql_bool($val) { - return ($val == "on") ? "true" : "false"; + return ($val == "on") ? true : false; } function uniqid_short() { |