diff options
Diffstat (limited to 'mod/photos.php')
-rw-r--r-- | mod/photos.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/photos.php b/mod/photos.php index d60029688..b2c5cd985 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1064,6 +1064,7 @@ function photos_content(&$a) { if($can_post || $a->data['perms']['post_comments']) { $comments .= replace_macros($cmnt_tpl,array( '$return_path' => '', + '$mode' => 'photos', '$jsreload' => $return_url, '$type' => 'wall-comment', '$id' => $link_item['id'], @@ -1131,6 +1132,7 @@ function photos_content(&$a) { $comments .= replace_macros($template,array( '$id' => $item['item_id'], + '$mode' => 'photos', '$profile_url' => $profile_link, '$name' => $name_e, '$thumb' => $profile_avatar, |