From b200258d5af08ff24065d58c96d8ccf834d1ffad Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 19 Jun 2013 19:32:48 +0200 Subject: Fixed so ldap cache can be disabled Fixed issue where ldap groups cache wasn't used correctly --- program/lib/Roundcube/rcube_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/lib/Roundcube/rcube_config.php') diff --git a/program/lib/Roundcube/rcube_config.php b/program/lib/Roundcube/rcube_config.php index 18055f77d..913eacb05 100644 --- a/program/lib/Roundcube/rcube_config.php +++ b/program/lib/Roundcube/rcube_config.php @@ -194,7 +194,7 @@ class rcube_config */ public function get($name, $def = null) { - if (isset($this->prop[$name])) { + if (array_key_exists($name, $this->prop)) { $result = $this->prop[$name]; } else { -- cgit v1.2.3