mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-20 11:19:16 +00:00
Fix redirect
This commit is contained in:
@@ -227,10 +227,6 @@ class BillController extends Controller
|
|||||||
$billData = $request->getBillData();
|
$billData = $request->getBillData();
|
||||||
$bill = $repository->update($bill, $billData);
|
$bill = $repository->update($bill, $billData);
|
||||||
|
|
||||||
if (intval(Input::get('return_to_edit')) === 1) {
|
|
||||||
return Redirect::route('bills.edit', $bill->id);
|
|
||||||
}
|
|
||||||
|
|
||||||
Session::flash('success', 'Bill "' . e($bill->name) . '" updated.');
|
Session::flash('success', 'Bill "' . e($bill->name) . '" updated.');
|
||||||
|
|
||||||
if (intval(Input::get('return_to_edit')) === 1) {
|
if (intval(Input::get('return_to_edit')) === 1) {
|
||||||
|
Reference in New Issue
Block a user