diff options
author | Andrew Dolgov <[email protected]> | 2005-12-30 05:11:48 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-12-30 05:11:48 +0100 |
commit | e3c99f3b636d5003be417093d00b7b114a655bd1 (patch) | |
tree | 8ea4c78825bc4f891318ed990223bfe6867eeeef /functions.php | |
parent | 5b35b4de9bb6aea6e61297bad1e4b89c0b037fcc (diff) |
add ability to hide feeds from browser (closes #21)
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 9 |
1 files changed, 9 insertions, 0 deletions
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"; |