summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-12-02 14:07:48 +0300
committerAndrew Dolgov <[email protected]>2017-12-02 14:07:48 +0300
commitda9ea57d1c1602899111df615639d9f013f7226f (patch)
tree7568296421390ad0343a3ccfcae8e283a10e1586 /include/functions.php
parent7ccb4e91ff45cab907b43de1cc36a3b0ab5a025d (diff)
checkbox to sql bool related changes, some more boolean fixes
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php2
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() {