mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00:00
Various code cleanup.
This commit is contained in:
@@ -55,7 +55,7 @@ class BudgetList implements BinderInterface
|
||||
$list = array_unique(array_map('\intval', explode(',', $value)));
|
||||
|
||||
|
||||
if (0 === count($list)) {
|
||||
if (empty($list)) {
|
||||
Log::warning('Budget list count is zero, return 404.');
|
||||
throw new NotFoundHttpException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user