diff options
author | friendica <info@friendica.com> | 2013-09-16 22:56:36 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-16 22:56:36 -0700 |
commit | 4335ef68d6e94d7e2ea8d8865c2c5bb0a60b483f (patch) | |
tree | 3520920e938bbb56d12899d8df364dd8293db055 | |
parent | a78b76d3938b6747da97bc729521c58f9491105f (diff) | |
download | volse-hubzilla-4335ef68d6e94d7e2ea8d8865c2c5bb0a60b483f.tar.gz volse-hubzilla-4335ef68d6e94d7e2ea8d8865c2c5bb0a60b483f.tar.bz2 volse-hubzilla-4335ef68d6e94d7e2ea8d8865c2c5bb0a60b483f.zip |
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.
-rw-r--r-- | mod/photos.php | 3 |
1 files changed, 2 insertions, 1 deletions
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'], |