M3 Security Fixes for Pass 37

This commit is contained in:
Mark Gregory
2026-09-17 12:36:37 +01:00
parent f8db57ee49
commit b8ca1e7717
19 changed files with 10 additions and 40 deletions
@@ -35,7 +35,7 @@ class execSummaryLineController 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