From 2787fbe5b6f015b5ce7c86185cc6876ec892b483 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 24 Jun 2013 21:13:49 +0200 Subject: Revert change where NULL config value wasn't handled as unset (#1489202) --- program/lib/Roundcube/rcube_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/lib/Roundcube') 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 { -- cgit v1.2.3