mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-01 04:49:36 +00:00
Exclude 'p' from valid ID return in BuerklinProvider
This commit is contained in:
parent
66c2787e3c
commit
d4cf7911a3
1 changed files with 1 additions and 1 deletions
|
|
@ -664,7 +664,7 @@ class BuerklinProvider implements BatchInfoProviderInterface, URLHandlerInfoProv
|
|||
|
||||
$id = basename(rtrim($path, '/'));
|
||||
|
||||
return $id !== '' ? $id : null;
|
||||
return $id !== '' && $id !== 'p' ? $id : null;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue