summaryrefslogtreecommitdiff
path: root/program/include/rcube_shared.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-04-11 10:53:58 +0000
committeralecpl <alec@alec.pl>2011-04-11 10:53:58 +0000
commitff10f5e50ef0172d334b7ff80ed7265f4cd7ec89 (patch)
tree8b1559f3e68b869579a0fa92065c9f649ed7057c /program/include/rcube_shared.inc
parentd1d9fd84b7329db9956c616ed6e4a6d2a0e485c9 (diff)
- Support 'off' as bolean false
Diffstat (limited to 'program/include/rcube_shared.inc')
-rw-r--r--program/include/rcube_shared.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc
index 2aa110092..8ed56d1de 100644
--- a/program/include/rcube_shared.inc
+++ b/program/include/rcube_shared.inc
@@ -140,7 +140,7 @@ function in_array_nocase($needle, $haystack)
function get_boolean($str)
{
$str = strtolower($str);
- if (in_array($str, array('false', '0', 'no', 'nein', ''), TRUE))
+ if (in_array($str, array('false', '0', 'no', 'off', 'nein', ''), TRUE))
return FALSE;
else
return TRUE;