]> git.mxchange.org Git - friendica.git/commitdiff
Ops, syntax errors get unnoticed with a simple editor. :-(
authorRoland Häder <roland@mxchange.org>
Thu, 16 Jun 2022 15:03:25 +0000 (17:03 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 16 Jun 2022 15:10:02 +0000 (17:10 +0200)
src/Protocol/ActivityPub/Processor.php

index 311806f8c07bcb71917abbd15467ff7a082195ed..1c448cd5757ff6bc0c35f96fbaf9c8b2834afbc7 100644 (file)
@@ -616,8 +616,8 @@ class Processor
                        $content = $activity['content'];
                } else {
                        // By default assume "text/html"
-                       $item['title'] = HTML::toBBCode($activity['name'] ??: '');
-                       $content = HTML::toBBCode($activity['content'] ?? '');
+                       $item['title'] = HTML::toBBCode($activity['name'] ?? '');
+                       $content = HTML::toBBCode($activity['content'] ?? '');
                }
 
                $item['title'] = trim(BBCode::toPlaintext($item['title']));