diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-06-24 21:13:49 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-06-24 21:13:49 +0200 |
commit | 2787fbe5b6f015b5ce7c86185cc6876ec892b483 (patch) | |
tree | 0a9f2a086c1d4acb7a8748246bf5e8d397eb541b | |
parent | 1f4b2a709342428b37934016cf3dde54637a7974 (diff) |
Revert change where NULL config value wasn't handled as unset (#1489202)
-rw-r--r-- | 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 913eacb05..18055f77d 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 (array_key_exists($name, $this->prop)) { + if (isset($this->prop[$name])) { $result = $this->prop[$name]; } else { |