All pastes #925429 Raw Edit

george

public text v1 · immutable
·published 2008-03-03 00:25 UTC
rendered paste body
function tbp_search_page($results, $type){
  if ($type == 'user'){
    drupal_goto(base_path() . 'search/node/' . arg(2), null, null, 301 );
  }
  else{
    return theme('search_page', $results, $type);
  }
}