]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Debug/ItemBody.php
Merge pull request #10977 from nupplaphil/feat/dynamic_modules
[friendica.git] / src / Module / Debug / ItemBody.php
index 04dab22c6b3918787b0ddae37f2c9f2d86b7ffd0..3759931145e16ee30423144576f1e421116c708c 100644 (file)
@@ -37,11 +37,11 @@ class ItemBody extends BaseModule
                        throw new HTTPException\UnauthorizedException(DI::l10n()->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]);