some debug code to find a problem with terms

darcs-hash:20080709231503-84dde-e9a00ec6b5c038c8ea7fab62a61f3d9de2dbe2c8.gz
This commit is contained in:
Evan Prodromou 2008-07-09 19:15:03 -04:00
parent 9d3b7e3d7a
commit 86f02018cd

View File

@ -69,6 +69,7 @@ class PeoplesearchAction extends SearchAction {
} }
function show_profile($profile, $terms) { function show_profile($profile, $terms) {
common_debug(print_r($terms, TRUE), __FILE__);
common_element_start('li', array('class' => 'profile_single', common_element_start('li', array('class' => 'profile_single',
'id' => 'profile-' . $profile->id)); 'id' => 'profile-' . $profile->id));
$avatar = $profile->getAvatar(AVATAR_STREAM_SIZE); $avatar = $profile->getAvatar(AVATAR_STREAM_SIZE);