aboutsummaryrefslogtreecommitdiffstats
path: root/mod/lockview.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/lockview.php')
-rw-r--r--mod/lockview.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/mod/lockview.php b/mod/lockview.php
index b8f4318df..a886effeb 100644
--- a/mod/lockview.php
+++ b/mod/lockview.php
@@ -22,6 +22,13 @@ 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']))
+ && (! strlen($item['deny_cid'])) && (! strlen($item['deny_gid']))) {
+
+ echo t('Remote privacy information not available.') . '<br />';
+ killme();
+ }
+
$o = t('Visible to:') . '<br />';
$l = array();