mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00:00
Fix bad call to method.
This commit is contained in:
@@ -57,7 +57,7 @@ class UpdateRequest extends FormRequest
|
||||
return ['value' => $this->integer('value')];
|
||||
}
|
||||
|
||||
return ['value' => $this->string('value')];
|
||||
return ['value' => $this->convertString('value')];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -59,10 +59,10 @@ class UserStoreRequest extends FormRequest
|
||||
}
|
||||
|
||||
return [
|
||||
'email' => $this->string('email'),
|
||||
'email' => $this->convertString('email'),
|
||||
'blocked' => $blocked,
|
||||
'blocked_code' => $this->string('blocked_code'),
|
||||
'role' => $this->string('role'),
|
||||
'blocked_code' => $this->convertString('blocked_code'),
|
||||
'role' => $this->convertString('role'),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -60,10 +60,10 @@ class UserUpdateRequest extends FormRequest
|
||||
}
|
||||
|
||||
return [
|
||||
'email' => $this->string('email'),
|
||||
'email' => $this->convertString('email'),
|
||||
'blocked' => $blocked,
|
||||
'blocked_code' => $this->string('blocked_code'),
|
||||
'role' => $this->string('role'),
|
||||
'blocked_code' => $this->convertString('blocked_code'),
|
||||
'role' => $this->convertString('role'),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user