From da9ea57d1c1602899111df615639d9f013f7226f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 2 Dec 2017 14:07:48 +0300 Subject: checkbox to sql bool related changes, some more boolean fixes --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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() { -- cgit v1.2.3-54-g00ecf