]> git.mxchange.org Git - friendica.git/commitdiff
Restore `item/drop/{item_id}` route in mod/item
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 25 Jul 2023 18:16:18 +0000 (20:16 +0200)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 25 Jul 2023 18:16:18 +0000 (20:16 +0200)
mod/item.php

index cf23df8424f219ffa305df9761c2daa0851bc8e7..e15ca639c4032a5ba4784a16e9bf165badfcbe6e 100644 (file)
@@ -340,7 +340,7 @@ function item_content(App $a)
 
        $args = DI::args();
 
-       if (!$args->has(3)) {
+       if (!$args->has(2)) {
                throw new HTTPException\BadRequestException();
        }