aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-28 17:43:29 -0700
committerfriendica <info@friendica.com>2012-06-28 17:43:29 -0700
commita3edbf7e5d0d89e99c2249cf30657b1fbc57982a (patch)
tree75d20b8a787b229c0fdbb48861b4a064e35c31fb /include/text.php
parent43d3721fa92f21007f45427eea35810a3b8545c6 (diff)
downloadvolse-hubzilla-a3edbf7e5d0d89e99c2249cf30657b1fbc57982a.tar.gz
volse-hubzilla-a3edbf7e5d0d89e99c2249cf30657b1fbc57982a.tar.bz2
volse-hubzilla-a3edbf7e5d0d89e99c2249cf30657b1fbc57982a.zip
create third privacy state - public post but not searchable or publicly visible
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/text.php b/include/text.php
index 0b3ebdf85..3b0050d38 100644
--- a/include/text.php
+++ b/include/text.php
@@ -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;
}
}}