- Work done on matching some new Ulmus method definitions

This commit is contained in:
Dave Mc Nicoll committed 2026-06-15 19:41:08 +00:00
1 parent 551762e1fa
commit cb1528f34b
4 files changed
+8 -6

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ trait UserAccountControlTrait
{
public function matchAccountControl(UserAccountControlEnum $userAccountControl) : bool
{
return ($this->userAccountControl & $userAccountControl->value) === $userAccountControl->value;
return (($this->userAccountControl ?? false) & $userAccountControl->value) === $userAccountControl->value;
}
public function isDisabled() : bool