From badac687b01db1491d3917e45c478b3c9d7a9a06 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 7 Feb 2009 13:40:43 +0300 Subject: synchronize unread status from offline to online DB --- functions.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'functions.php') 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") -- cgit v1.2.3