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