really really really fix lockview - maybe

This commit is contained in:
friendica 2014-08-28 04:04:38 -07:00
parent 5e5c6c9000
commit d0af6b501f

View File

@ -21,6 +21,7 @@ function lockview_content(&$a) {
dbesc($type),
intval($item_id)
);
if(! $r)
killme();
@ -39,7 +40,7 @@ function lockview_content(&$a) {
// as unknown specific recipients. The sender will have the visibility list and will fall through to the
// next section.
echo '<li>' . translate_scope((! $item['public_policy']) ? PERMS_SPECIFIC : $item['public_policy']) . '</li>';
echo '<li>' . translate_scope((! $item['public_policy']) ? 'contacts' : $item['public_policy']) . '</li>';
killme();
}