summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-02-07 13:40:43 +0300
committerAndrew Dolgov <[email protected]>2009-02-07 13:40:43 +0300
commitbadac687b01db1491d3917e45c478b3c9d7a9a06 (patch)
treefea1ece0f2942441e35e5493eebd543da16f17de /functions.php
parentb7dbf528f32349d604f141e19d8c5990684e8bc3 (diff)
synchronize unread status from offline to online DB
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")