From dda9ceef4a6c3cd72b844b83595e05fc224678ab Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 9 Jul 2008 19:18:21 -0400 Subject: missing second argument darcs-hash:20080709231821-84dde-ecbcbed7e856a92b74c1bd9ba11c4c9be4ecb79f.gz --- actions/noticesearch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actions') 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)); -- cgit v1.2.3-54-g00ecf