]> git.mxchange.org Git - friendica.git/blobdiff - mod/poco.php
Replace 'REQUEST_METHOD' with App\Arguments::getMethod()
[friendica.git] / mod / poco.php
index 3656571719c94f0c7930812ce14c20e0f95aee4c..bd11e0971a2191a53ec3a184ea94004f1f507382 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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);
                        }