M3 Security Fixes for Pass 39
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user