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
+1 -3
View File
@@ -2,7 +2,6 @@
namespace Modules\M3\Console;
use App;
use Ayeo\Barcode;
use Cache;
use Config;
@@ -54,7 +53,7 @@ class GenerateGS1Cmd extends Command
// Get the Calling User
$userId = $this->argument('user');
$sHUSER = isset($userId) ? $userId : (m3_user() !== '' ? Str::upper(trim(m3_user())) : 'TWOSHIP');
$sHUSER = $userId ?? (m3_user() !== '' ? Str::upper(trim(m3_user())) : 'TWOSHIP');
$this->info('User: ' . $sHUSER);
// Get Manifest Array
@@ -223,7 +222,6 @@ class GenerateGS1Cmd extends Command
}
$html .= '</body> </html>';
// App::call('App\Http\Controllers\utilitiesContoller@generateGS128');
ob_start();