Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix route [skip ci]
James Colea05bc0eed0e9
diff --git a/app/Http/Controllers/Transaction/SingleController.php b/app/Http/Controllers/Transaction/SingleController.phpindex 169de3b707..23861d9ff4 100644--- a/app/Http/Controllers/Transaction/SingleController.php+++ b/app/Http/Controllers/Transaction/SingleController.php@@ -274,7 +274,7 @@ class SingleController extends Controllerif ($doSplit === true) {// redirect to edit screen:- return redirect(route('transactions.edit', [$journal->id]));+ return redirect(route('transactions.edit-split', [$journal->id]));}@@ -311,6 +311,9 @@ class SingleController extends ControllerSession::flash('success', strval(trans('firefly.updated_' . $type, ['description' => e($data['description'])])));Preferences::mark();+ // if wishes to split:++if (intval($request->get('return_to_edit')) === 1) {// set value so edit routine will not overwrite URL:Session::put('transactions.edit.fromUpdate', true);