aboutsummaryrefslogtreecommitdiffstats
path: root/mod/lockview.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 /mod/lockview.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 'mod/lockview.php')
-rw-r--r--mod/lockview.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/lockview.php b/mod/lockview.php
index 9e64e2608..a832629f1 100644
--- a/mod/lockview.php
+++ b/mod/lockview.php
@@ -33,7 +33,7 @@ function lockview_content(&$a) {
$deny_users = expand_acl($item['deny_cid']);
$deny_groups = expand_acl($item['deny_gid']);
- if(($item['private']) && (! strlen($item['allow_cid'])) && (! strlen($item['allow_gid']))
+ if(($item['private'] == 1) && (! strlen($item['allow_cid'])) && (! strlen($item['allow_gid']))
&& (! strlen($item['deny_cid'])) && (! strlen($item['deny_gid']))) {
echo t('Remote privacy information not available.') . '<br />';