From b88c35f24b76ffe1f1adba5dc75934a685d7023d Mon Sep 17 00:00:00 2001 From: alec Date: Mon, 11 Apr 2011 10:53:58 +0000 Subject: - Support 'off' as bolean false git-svn-id: https://svn.roundcube.net/trunk@4639 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_shared.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/include') 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; -- cgit v1.2.3