mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Improve results when presented with invalid data. #701
This commit is contained in:
@@ -65,6 +65,19 @@ class ImportJournal
|
||||
/** @var User */
|
||||
private $user;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDescription(): string
|
||||
{
|
||||
if ($this->description === '') {
|
||||
return '(no description)';
|
||||
}
|
||||
|
||||
return $this->description;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* ImportEntry constructor.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user