X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fpoco.php;h=651b9938b9dde0a077ca3bf93078fc417628ecb7;hb=b2042253c45f7925d515d8c6b8fdd4a73c2ee784;hp=f084361dc4f731368cf6a66df2c498375eb42cf9;hpb=122ad0af14f046c2462a03fe33967dc41abfc8b5;p=friendica.git diff --git a/mod/poco.php b/mod/poco.php index f084361dc4..651b9938b9 100644 --- a/mod/poco.php +++ b/mod/poco.php @@ -1,6 +1,6 @@ argc > 1) { + if (DI::args()->getArgc() > 1) { // Only the system mode is supported throw new \Friendica\Network\HTTPException\NotFoundException(); } @@ -123,7 +123,7 @@ function poco_init(App $a) { } $about = DI::cache()->get("about:" . $contact['updated'] . ":" . $contact['nurl']); if (is_null($about)) { - $about = BBCode::convert($contact['about'], false); + $about = BBCode::convertForUriId($contact['uri-id'], $contact['about']); DI::cache()->set("about:" . $contact['updated'] . ":" . $contact['nurl'], $about); }