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