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
@@ -25,7 +25,7 @@ class sentinelController extends Controller
->where('AYSTATUS', '')
->first();
$allowDeletion = isset($iCM695M1Sel->AYSENTPKR) ? ($iCM695M1Sel->AYSENTPKR != '' ? true : false) : false;
$allowDeletion = ! empty($iCM695M1Sel->AYSENTPKR);
if ($allowDeletion) {
$timestamp = date('Y-m-d H:i:s.u');