summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/shownotice.php2
-rw-r--r--actions/showstream.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/actions/shownotice.php b/actions/shownotice.php
index b189fdb87..4bf4238cd 100644
--- a/actions/shownotice.php
+++ b/actions/shownotice.php
@@ -69,7 +69,7 @@ class ShownoticeAction extends Action {
$profile->nickname);
# FIXME: URL, image, video, audio
common_element_start('span', array('class' => 'content'));
- common_raw(common_render_content($notice->content));
+ common_raw(common_render_content($notice->content, $notice));
common_element_end('span');
common_element('span', array('class' => 'date'),
common_date_string($notice->created));
diff --git a/actions/showstream.php b/actions/showstream.php
index d4af63132..fdf3d33bd 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -315,7 +315,7 @@ class ShowstreamAction extends StreamAction {
if ($notice->find(true)) {
# FIXME: URL, image, video, audio
common_element_start('span', array('class' => 'content'));
- common_raw(common_render_content($notice->content));
+ common_raw(common_render_content($notice->content, $notice));
common_element_end('span');
}