X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fpoco.php;h=651b9938b9dde0a077ca3bf93078fc417628ecb7;hb=3d65809a82b5c357887f5b98ab722464a74ee828;hp=f084361dc4f731368cf6a66df2c498375eb42cf9;hpb=c6b45a958e3b09bc8f3950a718c181dfc9e0b910;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); }