diff options
Diffstat (limited to 'actions')
-rw-r--r-- | actions/noticesearch.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/noticesearch.php b/actions/noticesearch.php index 721c843ee..db0d6efad 100644 --- a/actions/noticesearch.php +++ b/actions/noticesearch.php @@ -92,12 +92,12 @@ class NoticesearchAction extends SearchAction { # FIXME: URL, image, video, audio common_element_start('p', array('class' => 'content')); if ($notice->rendered) { - common_raw($this->highlight($notice->rendered)); + common_raw($this->highlight($notice->rendered), $terms); } else { # XXX: may be some uncooked notices in the DB, # we cook them right now. This should probably disappear in future # versions (>> 0.4.x) - common_raw($this->highlight(common_render_content($notice->content, $notice))); + common_raw($this->highlight(common_render_content($notice->content, $notice), $terms)); } common_element_end('p'); $noticeurl = common_local_url('shownotice', array('notice' => $notice->id)); |