]> git.mxchange.org Git - friendica.git/blobdiff - include/text.php
create third privacy state - public post but not searchable or publicly visible
[friendica.git] / include / text.php
index 0b3ebdf854d99941156a88f0c74cf5069c2723fe..3b0050d387a559c93fc391f59c27fc775f5b98e7 100644 (file)
@@ -1059,12 +1059,13 @@ function feed_salmonlinks($nick) {
 if(! function_exists('get_plink')) {
 function get_plink($item) {
        $a = get_app(); 
-       if (x($item,'plink') && ((! $item['private']) || ($item['network'] === NETWORK_FEED))){
+       if (x($item,'plink') && ($item['private'] != 1)) {
                return array(
                        'href' => $item['plink'],
                        'title' => t('link to source'),
                );
-       } else {
+       } 
+       else {
                return false;
        }
 }}