]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Post.php
2) Refactor App->config[] into Core\PConfig
[friendica.git] / src / Object / Post.php
index bc1123db2b1af845e6a98a915c4c773cee5221a6..847135d3621bf10945d71a652e694c4b9faa4a8f 100644 (file)
@@ -775,6 +775,10 @@ class Post extends BaseObject
         */
        private function getDefaultText()
        {
+               if (!local_user()) {
+                       return;
+               }
+
                $a = self::getApp();
 
                $item = Item::selectFirst(['author-addr'], ['id' => $this->getId()]);