]> git.mxchange.org Git - friendica.git/blobdiff - mod/display.php
SV update to the strings THX viktorbagare
[friendica.git] / mod / display.php
index cc594d78815e0b74e77f49f56dbbfaf942f9094c..ed2c9ef0f7886e4c19e77422159a16a3a668e422 100644 (file)
@@ -302,7 +302,7 @@ function display_content(App $a, $update = false, $update_uid = 0)
 
        // Preparing the meta header
        $description = trim(BBCode::toPlaintext($item['body']));
-       $title = trim(BBCode::toPlaintext($item['title']));
+       $title = trim(BBCode::toPlaintext($item['title'] ?? ''));
        $author_name = $item['author-name'];
 
        $image = DI::baseUrl()->remove($item['author-avatar']);