mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-20 17:19:34 +00:00
had replaced one too many doublequotes
This commit is contained in:
parent
18eb652cbc
commit
67bf365b4a
1 changed files with 2 additions and 2 deletions
|
|
@ -122,10 +122,10 @@ final class BarcodeScanHelper
|
|||
|
||||
private function parseDigikeyBarcode(string $input): ?VendorBarcodeScanResult
|
||||
{
|
||||
if(!str_starts_with($input, '[)>\u{1E}06\u{1D}')){
|
||||
if(!str_starts_with($input, "[)>\u{1E}06\u{1D}")){
|
||||
return null;
|
||||
}
|
||||
$barcodeParts = explode('\u{1D}',$input);
|
||||
$barcodeParts = explode("\u{1D}",$input);
|
||||
if (count($barcodeParts) !== 16){
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue