mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-10 12:24:50 +00:00
This fixes #419
This commit is contained in:
@@ -160,6 +160,7 @@ class JournalFormRequest extends Request
|
||||
*/
|
||||
private function getFieldOrEmptyString(string $field): string
|
||||
{
|
||||
return $this->get($field) ?? '';
|
||||
$tring = $this->get($field) ?? ''
|
||||
return trim($string);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user