mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00:00
Code cleanup before release.
This commit is contained in:
@@ -54,7 +54,7 @@ class AppendDescription implements ActionInterface
|
||||
public function act(TransactionJournal $journal): bool
|
||||
{
|
||||
Log::debug(sprintf('RuleAction AppendDescription appended "%s" to "%s".', $this->action->action_value, $journal->description));
|
||||
$journal->description = $journal->description . $this->action->action_value;
|
||||
$journal->description .= $this->action->action_value;
|
||||
$journal->save();
|
||||
|
||||
return true;
|
||||
|
||||
@@ -61,7 +61,7 @@ class AppendNotes implements ActionInterface
|
||||
}
|
||||
$notes = $dbNote->text;
|
||||
Log::debug(sprintf('RuleAction AppendNotes appended "%s" to "%s".', $this->action->action_value, $notes));
|
||||
$notes = $notes . $this->action->action_value;
|
||||
$notes .= $this->action->action_value;
|
||||
$dbNote->text = $notes;
|
||||
$dbNote->save();
|
||||
$journal->save();
|
||||
|
||||
Reference in New Issue
Block a user