Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
704a993e
Commit
704a993e
authored
Jun 21, 2016
by
Jörn Friedrich Dreyer
Committed by
Thomas Müller
Jun 21, 2016
Browse files
Fix null pointer exception in user_ldap (#25062)
parent
755c86e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/user_ldap/lib/Access.php
View file @
704a993e
...
...
@@ -732,7 +732,14 @@ class Access extends LDAPUtility implements IUserTools {
$user
->
unmark
();
$user
=
$this
->
userManager
->
get
(
$ocName
);
}
$user
->
processAttributes
(
$userRecord
);
if
(
$user
!==
null
)
{
$user
->
processAttributes
(
$userRecord
);
}
else
{
\
OC
::
$server
->
getLogger
()
->
debug
(
"The ldap user manager returned null for
$ocName
"
,
[
'app'
=>
'user_ldap'
]
);
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment