M3 Security Fixes for Pass 39

This commit is contained in:
Mark Gregory
2026-09-17 12:52:29 +01:00
parent b8ca1e7717
commit 34e13a0bf0
16 changed files with 13 additions and 70 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ class DeleteOldLabels extends Command
$daysOld = 180; // Number of days to consider a file old : 180 =Six Months
$filesToDeleteArr = [];
foreach ($subFolders as $key => $subFolder) {
foreach ($subFolders as $subFolder) {
$labelsDirectory = $labelsDirectoryTmp . $subFolder;
$this->info('Getting Files From Directory: ' . $labelsDirectory);
-1
View File
@@ -153,7 +153,6 @@ class GenerateGS1Cmd extends Command
// If remainder is 0, check digit is 0; otherwise, subtract remainder from 10
$checkDigit = ($remainder == 0) ? 0 : 10 - $remainder;
$gs1_128_bc = $gs1_128_bc_1 . $checkDigit;
$gs1_128_bc_desc = '(00)' . $packageType . $manufactID . $gS1SEQUENCEID . $checkDigit;
$data = [