diff options
author | alecpl <alec@alec.pl> | 2011-04-11 10:53:58 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-04-11 10:53:58 +0000 |
commit | ff10f5e50ef0172d334b7ff80ed7265f4cd7ec89 (patch) | |
tree | 8b1559f3e68b869579a0fa92065c9f649ed7057c | |
parent | d1d9fd84b7329db9956c616ed6e4a6d2a0e485c9 (diff) |
- Support 'off' as bolean false
-rw-r--r-- | program/include/rcube_shared.inc | 2 |
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; |