found missing second term

darcs-hash:20080709231539-84dde-4414d122b3b396d31d393ab2f74b0d51758afbc2.gz
This commit is contained in:
Evan Prodromou 2008-07-09 19:15:39 -04:00
parent 86f02018cd
commit 161cbe6f5d
1 changed files with 1 additions and 2 deletions

View File

@ -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) {