Attempted fix for #6475

This commit is contained in:
James Cole
2022-09-30 20:07:01 +02:00
parent 1558e87923
commit 4474a71e65
13 changed files with 33 additions and 33 deletions

View File

@@ -44,10 +44,10 @@ class UserFormRequest extends FormRequest
{
return [
'email' => $this->convertString('email'),
'blocked' => 1 === $this->integer('blocked'),
'blocked' => 1 === $this->convertInteger('blocked'),
'blocked_code' => $this->convertString('blocked_code'),
'password' => $this->convertString('password'),
'is_owner' => 1 === $this->integer('is_owner'),
'is_owner' => 1 === $this->convertInteger('is_owner'),
];
}