M3 Security Fixes for Pass 37
This commit is contained in:
@@ -35,7 +35,7 @@ class execSummaryController extends Controller
|
||||
$checkWeight = isset($request->checkWeight) ? $request->checkWeight : ''; // on
|
||||
$checkLines = isset($request->checkLines) ? $request->checkLines : ''; // on
|
||||
|
||||
if (count($wHArr) > 0 && $cO != '' && $reportPeriod != '') {
|
||||
if (! empty($wHArr) && $cO != '' && $reportPeriod != '') {
|
||||
switch ($reportPeriod) {
|
||||
case 'year':
|
||||
// Set Dates based on reportPeriod type
|
||||
@@ -128,7 +128,6 @@ class execSummaryController extends Controller
|
||||
break;
|
||||
}
|
||||
// dump($toreportDate);
|
||||
// dump($selectContent);
|
||||
|
||||
$execSummaryRes = DB::connection(config('m3.connection', 'pgsql'))->select($selectContent);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user