Lower threshold.

This commit is contained in:
James Cole
2015-12-14 20:58:23 +01:00
parent 6637590797
commit 3c73fe92bf

View File

@@ -181,6 +181,11 @@ class ReportController extends Controller
return view('error')->with('message', 'End date cannot be before start date, silly!');
}
// lower threshold
if($start < Session::get('first')) {
$start = Session::get('first');
}
switch ($report_type) {
default:
case 'default':