From 9edd65e7e29618d7d10e95137393b90ef70b2ca6 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 13 Oct 2016 12:46:46 +0300 Subject: [PATCH] Bug fix for reports --- app/Http/Controllers/ReportController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ReportController.php b/app/Http/Controllers/ReportController.php index 845168b6ae..3f954da853 100644 --- a/app/Http/Controllers/ReportController.php +++ b/app/Http/Controllers/ReportController.php @@ -53,7 +53,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 = Utils::toSqlDate(Input::get('start_date'), false);