]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Post.php
Merge pull request #11369 from annando/empty-item
[friendica.git] / src / Object / Post.php
index b5c058dfd9a9b24db04cc4fee58f45abed32ad42..4e0d8d238923d37b77d0cf1e2dab14191d441060 100644 (file)
@@ -393,6 +393,8 @@ class Post
                        $title = $item['title'];
                } elseif (!empty($item['content-warning']) && DI::pConfig()->get(local_user(), 'system', 'disable_cw', false)) {
                        $title = ucfirst($item['content-warning']);
+               } else {
+                       $title = '';
                }
 
                if (DI::pConfig()->get(local_user(), 'system', 'hide_dislike')) {