M3 Security Fixes for pass 29

This commit is contained in:
Mark Gregory
2026-09-17 10:54:04 +01:00
parent 1037c1c202
commit dca0f54109
34 changed files with 82 additions and 478 deletions
-2
View File
@@ -34,7 +34,6 @@ class ShipTo extends Model
return parent::save($options);
} else {
return false;
// return redirect()->back()
// ->withErrors(['unique' => 'The combination of AUSHSHZP and AUSHWHS must be unique'])
// ->withInput();
}
@@ -54,7 +53,6 @@ class ShipTo extends Model
}
if ($existingRecord->count() > 0) {
// throw new \Exception('Composite unique constraint violated for AUSHSHZP and AUSHWHS');
return false;
} else {
return true;