diff --git a/app/Http/Controllers/ReportController.php b/app/Http/Controllers/ReportController.php index 1099670816..d506d6719e 100644 --- a/app/Http/Controllers/ReportController.php +++ b/app/Http/Controllers/ReportController.php @@ -54,7 +54,7 @@ class ReportController extends BaseController { $action = Input::get('action'); - if (Input::all()) { + if (Input::get('report_type')) { $reportType = Input::get('report_type'); $dateField = Input::get('date_field'); $startDate = date_create(Input::get('start_date'));