]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
found missing second term
authorEvan Prodromou <evan@prodromou.name>
Wed, 9 Jul 2008 23:15:39 +0000 (19:15 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 9 Jul 2008 23:15:39 +0000 (19:15 -0400)
darcs-hash:20080709231539-84dde-4414d122b3b396d31d393ab2f74b0d51758afbc2.gz

actions/peoplesearch.php

index ba5278b99b939dc43e837146da2ac2a83e9cc00b..86c64983c572c75a4362e096fd6b8d42cffc2ea7 100644 (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) {