Index: profileplus.module =================================================================== --- profileplus.module (revision 210) +++ profileplus.module (revision 212) @@ -94,7 +94,7 @@ } $view = implode(' | ', $entry); } - $find[] = array('title' => $user->name, 'link' => url("user/$user->uid"), 'snippet' => search_excerpt($keys, $view)); + $find[] = array('title' => theme('profileplus_username', $user), 'link' => url("user/$user->uid"), 'snippet' => search_excerpt($keys, $view)); } } return $find; @@ -102,3 +102,7 @@ } // end search case } } + +function theme_profileplus_username($user) { + return $user->name; +}