summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-09 19:15:39 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-09 19:15:39 -0400
commit161cbe6f5d448d4c061b3f007327c543038a7519 (patch)
treeada7df63fb539b6e685568e01947be425bfa8cae /actions
parent86f02018cda02921e3980c3a2d3b0cdf2e39fcc6 (diff)
found missing second term
darcs-hash:20080709231539-84dde-4414d122b3b396d31d393ab2f74b0d51758afbc2.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/peoplesearch.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/actions/peoplesearch.php b/actions/peoplesearch.php
index ba5278b99..86c64983c 100644
--- a/actions/peoplesearch.php
+++ b/actions/peoplesearch.php
@@ -69,7 +69,6 @@ class PeoplesearchAction extends SearchAction {
}
function show_profile($profile, $terms) {
- common_debug(print_r($terms, TRUE), __FILE__);
common_element_start('li', array('class' => 'profile_single',
'id' => 'profile-' . $profile->id));
$avatar = $profile->getAvatar(AVATAR_STREAM_SIZE);
@@ -103,7 +102,7 @@ class PeoplesearchAction extends SearchAction {
if ($profile->homepage) {
common_element_start('p', 'website');
common_element('a', array('href' => $profile->homepage),
- $this->highlight($profile->homepage));
+ $this->highlight($profile->homepage, $terms));
common_element_end('p');
}
if ($profile->bio) {