]> git.mxchange.org Git - friendica.git/blobdiff - mod/lockview.php
create third privacy state - public post but not searchable or publicly visible
[friendica.git] / mod / lockview.php
index 9e64e2608b1e341f0e6de41373e643892f8fd85e..a832629f198ef680e0afce32e96a60f1e9de2e06 100644 (file)
@@ -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 />';