mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-08 00:09:37 +00:00
Handle Barcode placeholders before anything else to avoid wrong delegation
Fixes issue #1268
This commit is contained in:
parent
463d7b89f6
commit
b8d1414403
1 changed files with 6 additions and 4 deletions
|
|
@ -114,10 +114,12 @@ final class BarcodeProvider implements PlaceholderProviderInterface
|
|||
return '<b>IPN Barcode ERROR!</b>: '.$e->getMessage();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public static function getDefaultPriority(): int
|
||||
{
|
||||
//This provider should be checked before all others, so that nothing is delegated for part lots
|
||||
return 1000;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue