mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 18:11:52 -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.
|
||||
if($this->Benefits->RequiresPassword && $this->PasswordHash === null){
|
||||
if($this->Benefits?->RequiresPassword && $this->PasswordHash === null){
|
||||
$error->Add(new Exceptions\BenefitsRequirePasswordException());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue