Bug fix for reports

This commit is contained in:
Hillel Coren 2016-10-13 12:46:29 +03:00
parent cf53151400
commit b36ea06303

View File

@ -54,7 +54,7 @@ class ReportController extends BaseController
{ {
$action = Input::get('action'); $action = Input::get('action');
if (Input::all()) { if (Input::get('report_type')) {
$reportType = Input::get('report_type'); $reportType = Input::get('report_type');
$dateField = Input::get('date_field'); $dateField = Input::get('date_field');
$startDate = date_create(Input::get('start_date')); $startDate = date_create(Input::get('start_date'));