diff options
author | Andrew Dolgov <[email protected]> | 2017-12-03 09:26:11 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-12-03 09:26:11 +0300 |
commit | 8ff3cbb32e8fcae1e8ce7d83e5718f43afaacdb8 (patch) | |
tree | 28634baf6435eae3a99c8c007d02e8bd6fac4215 /include | |
parent | b431d5252039630a40f275edb70e664495c696b9 (diff) |
filters: remove sql_bool_to_bool()
checkbox_to_sql_bool: return ints (???)
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 7bf5460db..e781eee51 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1053,7 +1053,7 @@ } function checkbox_to_sql_bool($val) { - return ($val == "on") ? true : false; + return ($val == "on") ? 1 : 0; } function uniqid_short() { |