From afe20eed79a224f03723123f7dc19a0eee32e6ea Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Wed, 10 Jul 2013 11:00:18 -0400
Subject: [PATCH] Backported changes from the dev-advanced-ldap-groups branch to 0.9

---
 program/lib/Roundcube/rcube_config.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/lib/Roundcube/rcube_config.php b/program/lib/Roundcube/rcube_config.php
index f694877..ac3d3b4 100644
--- a/program/lib/Roundcube/rcube_config.php
+++ b/program/lib/Roundcube/rcube_config.php
@@ -192,7 +192,7 @@
      */
     public function get($name, $def = null)
     {
-        if (isset($this->prop[$name])) {
+        if (array_key_exists($name, $this->prop)) {
             $result = $this->prop[$name];
         }
         else {

--
Gitblit v1.9.1