diff --git a/framework/Core/lib/Horde/Config.php b/framework/Core/lib/Horde/Config.php index 475d749e7a1..86a801f0d4b 100644 --- a/framework/Core/lib/Horde/Config.php +++ b/framework/Core/lib/Horde/Config.php @@ -769,7 +769,7 @@ protected function _configLDAP($ctx, $node = null, 'desc' => 'LDAP server(s)/hostname(s)', 'default' => implode(',', $this->_default( $ctx . '|hostspec', - $node ? ($xpath->evaluate('string(configstring[@name="hostspec"])', $node) ?: '') : '' + $node ? ($xpath->evaluate('string(configstring[@name="hostspec"])', $node) ?: array()) : array() )) ),