summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-11 10:53:58 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-11 10:53:58 +0000
commitb88c35f24b76ffe1f1adba5dc75934a685d7023d (patch)
tree9ab0254693f9277c0a2257ca0bf2ada14842ca1c /roundcubemail/program
parent531c197eab9815f7ddbc780d04a337e78c1ea18c (diff)
- Support 'off' as bolean false
git-svn-id: https://svn.roundcube.net/trunk@4639 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/include/rcube_shared.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_shared.inc b/roundcubemail/program/include/rcube_shared.inc
index 2aa110092..8ed56d1de 100644
--- a/roundcubemail/program/include/rcube_shared.inc
+++ b/roundcubemail/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;