Skip to content

Commit 28de48d

Browse files
committed
mute ldap_read warnings when checking for PI group
1 parent 6d4186a commit 28de48d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/lib/UnityUser.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ public function isAdmin()
572572
*/
573573
public function isPI()
574574
{
575-
return $this->getPIGroup()->exists();
575+
return @$this->getPIGroup()->exists();
576576
}
577577

578578
public function getPIGroup()

0 commit comments

Comments
 (0)