X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdisplay.php;h=ed2c9ef0f7886e4c19e77422159a16a3a668e422;hb=28e2eab7aee3ab5dac11fcc62be595b9a1c2df8b;hp=cc594d78815e0b74e77f49f56dbbfaf942f9094c;hpb=6b0b8848a453ddd39cb786810e876c35d05b1b01;p=friendica.git diff --git a/mod/display.php b/mod/display.php index cc594d7881..ed2c9ef0f7 100644 --- a/mod/display.php +++ b/mod/display.php @@ -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']);