X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fpoco.php;h=bd11e0971a2191a53ec3a184ea94004f1f507382;hb=903bc9b679b93c217c0bd9bd3384ad90737ff523;hp=42b9af02a782bb59c8f11cb7f33af56722005e76;hpb=054c301ef0345c4ff9f35cfd08717757eab17b9d;p=friendica.git diff --git a/mod/poco.php b/mod/poco.php index 42b9af02a7..bd11e0971a 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); }