summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-01-13 09:51:04 +0100
committerGitHub <noreply@github.com>2022-01-13 09:51:04 +0100
commit89d109a4d9a9c471f9dde7d5bd12a60ca91fe1f9 (patch)
tree76e56e0afc214eb0d9542b22e382c22fd77ae4b9 /apps/user_ldap
parent7d5a63ab216347e412dc285667026eb66715cbf9 (diff)
parent6312c0df6949955d1cd59c3dd444268e0773293c (diff)
downloadnextcloud-server-89d109a4d9a9c471f9dde7d5bd12a60ca91fe1f9.tar.gz
nextcloud-server-89d109a4d9a9c471f9dde7d5bd12a60ca91fe1f9.zip
Merge pull request #30508 from nextcloud/fix/psaml-bin
Fix psalm not running
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/lib/Access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php
index f79efe90996..093449ee0ea 100644
--- a/apps/user_ldap/lib/Access.php
+++ b/apps/user_ldap/lib/Access.php
@@ -1753,7 +1753,7 @@ class Access extends LDAPUtility {
}
$attribute = $this->connection->getFromCache($uuidAttr);
- if (!$attribute === null) {
+ if ($attribute !== null) {
$this->connection->$uuidAttr = $attribute;
return true;
}