mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 02:21:55 -04:00
Fix reference error
This commit is contained in:
parent
186b8ac1a6
commit
9bfa8915f3
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ class User{
|
||||||
}
|
}
|
||||||
|
|
||||||
// Some benefits require this `User` to have a password set.
|
// Some benefits require this `User` to have a password set.
|
||||||
if($this->Benefits->RequiresPassword && $this->PasswordHash === null){
|
if($this->Benefits?->RequiresPassword && $this->PasswordHash === null){
|
||||||
$error->Add(new Exceptions\BenefitsRequirePasswordException());
|
$error->Add(new Exceptions\BenefitsRequirePasswordException());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue