https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28d55c8
)
Restore `item/drop/{item_id}` route in mod/item
author
Hypolite Petovan
<hypolite@mrpetovan.com>
Tue, 25 Jul 2023 18:16:18 +0000
(20:16 +0200)
committer
Hypolite Petovan
<hypolite@mrpetovan.com>
Tue, 25 Jul 2023 18:16:18 +0000
(20:16 +0200)
mod/item.php
patch
|
blob
|
history
diff --git
a/mod/item.php
b/mod/item.php
index
cf23df8
..
e15ca63
100644
(file)
--- 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();
}