mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-17 20:08:52 +00:00
Various code fixes.
This commit is contained in:
@@ -54,7 +54,7 @@ class BudgetList implements BinderInterface
|
||||
$list = array_unique(array_map('\intval', explode(',', $value)));
|
||||
|
||||
|
||||
if (empty($list)) {
|
||||
if (0 === count($list)) {
|
||||
app('log')->warning('Budget list count is zero, return 404.');
|
||||
throw new NotFoundHttpException();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user