Fixed chart and redirect

This commit is contained in:
James Cole 2015-05-27 07:51:33 +02:00
parent 2ace7c3ca0
commit e1cb9d387e
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ class AuthController extends Controller
}
App::abort(500, 'Not a user!');
return false;
return redirect('/');
}
}

View File

@ -135,7 +135,7 @@ class BudgetController extends Controller
}
}
$noBudgetExpenses = $repository->getWithoutBudgetSum($start, $end);
$noBudgetExpenses = $repository->getWithoutBudgetSum($start, $end) * -1;
$allEntries->push([trans('firefly.noBudget'), 0, 0, $noBudgetExpenses]);
foreach ($allEntries as $entry) {