assuming permissions are correct, unobscure photo comments. Should probably make sure permissions are correct and figure out why some photo comments on public photos are getting stored with privacy. This probably requires that whenever we change photo permissions for linked photos/items we change the item permissions to match. They might be out of sync.
This commit is contained in:
parent
a78b76d393
commit
4335ef68d6
@ -1128,7 +1128,8 @@ function photos_content(&$a) {
|
||||
|
||||
$name_e = $profile_name;
|
||||
$title_e = $item['title'];
|
||||
$body_e = bbcode($item['body']);
|
||||
unobscure($item);
|
||||
$body_e = prepare_text($item['body'],$item['mimetype']);
|
||||
|
||||
$comments .= replace_macros($template,array(
|
||||
'$id' => $item['item_id'],
|
||||
|
Reference in New Issue
Block a user