mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 04:03:26 +00:00
Fix bad call to method.
This commit is contained in:
@@ -37,7 +37,7 @@ class PreferenceStoreRequest extends FormRequest
|
||||
public function getAll(): array
|
||||
{
|
||||
$array = [
|
||||
'name' => $this->string('name'),
|
||||
'name' => $this->convertString('name'),
|
||||
'data' => $this->get('data'),
|
||||
];
|
||||
if ('true' === $array['data']) {
|
||||
|
@@ -38,7 +38,7 @@ class PreferenceUpdateRequest extends FormRequest
|
||||
public function getAll(): array
|
||||
{
|
||||
$array = [
|
||||
'name' => $this->string('name'),
|
||||
'name' => $this->convertString('name'),
|
||||
'data' => $this->get('data'),
|
||||
];
|
||||
if ('true' === $array['data']) {
|
||||
|
Reference in New Issue
Block a user