mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-05 05:33:36 +00:00
Cast all translations to strings.
This commit is contained in:
@@ -186,7 +186,7 @@ class Transaction extends SpectreObject
|
||||
switch ($key) {
|
||||
case 'account_number':
|
||||
$data['number'] = $value;
|
||||
$data['name'] = $data['name'] ?? trans('import.spectre_account_with_number', ['number' => $value]);
|
||||
$data['name'] = $data['name'] ?? (string)trans('import.spectre_account_with_number', ['number' => $value]);
|
||||
break;
|
||||
case 'payee':
|
||||
$data['name'] = $value;
|
||||
|
||||
Reference in New Issue
Block a user