From e3c99f3b636d5003be417093d00b7b114a655bd1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 30 Dec 2005 05:11:48 +0100 Subject: add ability to hide feeds from browser (closes #21) --- functions.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'functions.php') diff --git a/functions.php b/functions.php index c67a7a99b..de5eb8a2e 100644 --- a/functions.php +++ b/functions.php @@ -867,7 +867,16 @@ return "false"; } } + + function sql_bool_to_bool($s) { + if ($s == "t" || $s == "1") { + return true; + } else { + return false; + } + } + function toggleEvenOdd($a) { if ($a == "even") return "odd"; -- cgit v1.2.3