From 4335ef68d6e94d7e2ea8d8865c2c5bb0a60b483f Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 16 Sep 2013 22:56:36 -0700 Subject: 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. --- mod/photos.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/photos.php b/mod/photos.php index b2c5cd985..217f9785f 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -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'], -- cgit v1.2.3