mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-06 04:34:00 +00:00
Some code cleanup and fixes.
This commit is contained in:
@@ -117,7 +117,7 @@ class BudgetController extends BaseController
|
||||
|
||||
return View::make('budgets.show')->with('budget', $budget)->with('repetitions', $repetitions)->with(
|
||||
'filters', $filters
|
||||
)->with('highlight',Input::get('highlight'));
|
||||
)->with('highlight', Input::get('highlight'));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -127,7 +127,7 @@ class BudgetController extends BaseController
|
||||
{
|
||||
|
||||
$budget = $this->_repository->store(Input::all());
|
||||
if ($budget->id) {
|
||||
if ($budget->validate()) {
|
||||
Event::fire('budgets.change');
|
||||
Session::flash('success', 'Budget created!');
|
||||
|
||||
|
Reference in New Issue
Block a user