mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-20 08:30:06 +00:00
Code cleanup
This commit is contained in:
@@ -74,7 +74,7 @@ class AppendNotesToDescription implements ActionInterface
|
||||
// only append if there is something to append
|
||||
if ('' !== $note->text) {
|
||||
$before = $object->description;
|
||||
$object->description = trim(sprintf('%s %s', $object->description, (string)$this->clearString($note->text)));
|
||||
$object->description = trim(sprintf('%s %s', $object->description, (string) $this->clearString($note->text)));
|
||||
$object->save();
|
||||
app('log')->debug(sprintf('Journal description is updated to "%s".', $object->description));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user