summaryrefslogtreecommitdiff
path: root/actions/noticesearch.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-09 19:18:21 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-09 19:18:21 -0400
commitdda9ceef4a6c3cd72b844b83595e05fc224678ab (patch)
tree65874c043305797ac5dedaf08ce10dec881dfc94 /actions/noticesearch.php
parent354ee48eeee3f76b916000bf3f17207f32f42a3e (diff)
missing second argument
darcs-hash:20080709231821-84dde-ecbcbed7e856a92b74c1bd9ba11c4c9be4ecb79f.gz
Diffstat (limited to 'actions/noticesearch.php')
-rw-r--r--actions/noticesearch.php4
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));