X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FItem.php;h=91bf79f177c9cc3f0ff96a23a6b72d993035806a;hb=06284e60073f374c1bd411e0bba6474a13c14f10;hp=a59f1294e13d632a8ee9cd063d4dc7fe7be8cc06;hpb=6d19ecfde071484737fdb21bc394a2df14e5fc24;p=friendica.git diff --git a/src/Content/Item.php b/src/Content/Item.php index a59f1294e1..91bf79f177 100644 --- a/src/Content/Item.php +++ b/src/Content/Item.php @@ -372,7 +372,7 @@ class Item // add sparkle links to appropriate permalinks // Only create a redirection to a magic link when logged in - if (!empty($item['plink']) && Session::isAuthenticated()) { + if (!empty($item['plink']) && Session::isAuthenticated() && $item['private'] == ModelItem::PRIVATE) { $author = ['uid' => 0, 'id' => $item['author-id'], 'network' => $item['author-network'], 'url' => $item['author-link']]; $item['plink'] = Contact::magicLinkByContact($author, $item['plink']);