mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Replace string operators.
This commit is contained in:
@@ -117,10 +117,7 @@ class GroupCloneService
|
||||
private function cloneNote(Note $note, TransactionJournal $newJournal, int $oldGroupId): void
|
||||
{
|
||||
$newNote = $note->replicate();
|
||||
$newNote->text .= sprintf(
|
||||
"\n\n%s",
|
||||
trans('firefly.clones_journal_x', ['description' => $newJournal->description, 'id' => $oldGroupId])
|
||||
);
|
||||
$newNote->text = sprintf("%s\n\n%s",$newNote->text, trans('firefly.clones_journal_x', ['description' => $newJournal->description, 'id' => $oldGroupId]));
|
||||
$newNote->noteable_id = $newJournal->id;
|
||||
$newNote->save();
|
||||
}
|
||||
|
Reference in New Issue
Block a user