summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-24 21:13:49 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-24 21:13:49 +0200
commit2787fbe5b6f015b5ce7c86185cc6876ec892b483 (patch)
tree0a9f2a086c1d4acb7a8748246bf5e8d397eb541b /program/lib
parent1f4b2a709342428b37934016cf3dde54637a7974 (diff)
Revert change where NULL config value wasn't handled as unset (#1489202)
Diffstat (limited to 'program/lib')
-rw-r--r--program/lib/Roundcube/rcube_config.php2
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 {