summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 7d3bae49c..08e71b9d9 100644
--- a/functions.php
+++ b/functions.php
@@ -1996,6 +1996,13 @@
}
}
+ function bool_to_sql_bool($s) {
+ if ($s) {
+ return "true";
+ } else {
+ return "false";
+ }
+ }
function toggleEvenOdd($a) {
if ($a == "even")