mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 23:50:09 +00:00
Use different method for finding objects.
This commit is contained in:
@@ -424,7 +424,7 @@ class SingleController extends Controller
|
||||
event(new UpdatedTransactionJournal($journal));
|
||||
// update, get events by date and sort DESC
|
||||
|
||||
$type = strtolower($journal->transactionTypeStr());
|
||||
$type = strtolower($this->repository->getTransactionType($journal));
|
||||
Session::flash('success', strval(trans('firefly.updated_' . $type, ['description' => $data['description']])));
|
||||
Preferences::mark();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user