From 00ddc9cfd76f9e662198c4a443c0754ec7ee9d1e Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 25 Jul 2023 20:16:18 +0200 Subject: [PATCH] Restore `item/drop/{item_id}` route in mod/item --- mod/item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/item.php b/mod/item.php index cf23df8424..e15ca639c4 100644 --- a/mod/item.php +++ b/mod/item.php @@ -340,7 +340,7 @@ function item_content(App $a) $args = DI::args(); - if (!$args->has(3)) { + if (!$args->has(2)) { throw new HTTPException\BadRequestException(); } -- 2.39.5