mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix #3974
This commit is contained in:
@@ -186,7 +186,6 @@ class EditController extends Controller
|
||||
$this->repository->update($account, $data);
|
||||
|
||||
$request->session()->flash('success', (string) trans('firefly.updated_account', ['name' => $account->name]));
|
||||
app('preferences')->mark();
|
||||
|
||||
// store new attachment(s):
|
||||
$files = $request->hasFile('attachments') ? $request->file('attachments') : null;
|
||||
@@ -209,6 +208,7 @@ class EditController extends Controller
|
||||
|
||||
$redirect = redirect(route('accounts.edit', [$account->id]))->withInput(['return_to_edit' => 1]);
|
||||
}
|
||||
app('preferences')->mark();
|
||||
|
||||
return $redirect;
|
||||
}
|
||||
|
Reference in New Issue
Block a user