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
@@ -232,7 +232,6 @@ class Helper
ini_set('max_execution_time', Config::get('arrays.PHPTimeOut'));
DB::connection(config('m3.connection', 'pgsql'))->table('ICM699M')->insert($data);
// dump($insertSQL);
}
// Get Substring in string between 2 Substrings
@@ -246,9 +245,8 @@ class Helper
if ($endPos === false) {
return '';
}
$substring = substr($string, $startPos + strlen($start), $endPos - ($startPos + strlen($start)));
return $substring;
return substr($string, $startPos + strlen($start), $endPos - ($startPos + strlen($start)));
}
public static function checkLength($jsonFields, $dbFields, $type)