mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 07:38:29 +00:00
Switch should have default thing.
This commit is contained in:
@@ -384,12 +384,13 @@ class ReportController extends Controller
|
||||
}
|
||||
|
||||
switch ($reportType) {
|
||||
case 'category':
|
||||
$uri = route('reports.report.category', [$accounts, $categories, $start, $end]);
|
||||
break;
|
||||
default:
|
||||
case 'default':
|
||||
$uri = route('reports.report.default', [$accounts, $start, $end]);
|
||||
break;
|
||||
case 'category':
|
||||
$uri = route('reports.report.category', [$accounts, $categories, $start, $end]);
|
||||
break;
|
||||
case 'audit':
|
||||
$uri = route('reports.report.audit', [$accounts, $start, $end]);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user