X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FDebug%2FItemBody.php;h=55abc894ed736d263bb0399ea41fb58ec98e635b;hb=d7df0825db598012871d8555de04575d0c30247a;hp=2299b3cb21302dfc9ddd8a871efb1ccec292c079;hpb=3cef3ab107f87f999cf4adcc909259925a631cea;p=friendica.git diff --git a/src/Module/Debug/ItemBody.php b/src/Module/Debug/ItemBody.php index 2299b3cb21..55abc894ed 100644 --- a/src/Module/Debug/ItemBody.php +++ b/src/Module/Debug/ItemBody.php @@ -1,6 +1,6 @@ t('Access denied.')); } - if (empty($parameters['item'])) { + if (empty($this->parameters['item'])) { throw new HTTPException\NotFoundException(DI::l10n()->t('Item not found.')); } - $itemId = intval($parameters['item']); + $itemId = intval($this->parameters['item']); $item = Post::selectFirst(['body'], ['uid' => [0, local_user()], 'uri-id' => $itemId]);