Merge pull request #13305 from MrPetovan/bug/13304-item-drop-args
Restore `item/drop/{item_id}` route in mod/item
This commit is contained in:
commit
0ecdb0252a
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ function item_content(App $a)
|
||||||
|
|
||||||
$args = DI::args();
|
$args = DI::args();
|
||||||
|
|
||||||
if (!$args->has(3)) {
|
if (!$args->has(2)) {
|
||||||
throw new HTTPException\BadRequestException();
|
throw new HTTPException\BadRequestException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue