Skip to content
Snippets Groups Projects
Commit 71472c21 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #1730 from owncloud/ldap_fix_warnings

LDAP: check array with isset first to avoid warnings about undefined ind...
parents c8e7b14a a28df74e
No related branches found
No related tags found
No related merge requests found
......@@ -295,7 +295,8 @@ class Connection {
foreach($config as $parameter => $value) {
if(($parameter == 'homeFolderNamingRule'
|| $params[$parameter] == 'homeFolderNamingRule')
|| (isset($params[$parameter])
&& $params[$parameter] == 'homeFolderNamingRule'))
&& !empty($value)) {
$value = 'attr:'.$value;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment