try some scoping

darcs-hash:20080709223803-84dde-c04d91be4d0a39d173297633cf5cad464ea52c4e.gz
This commit is contained in:
Evan Prodromou 2008-07-09 18:38:03 -04:00
parent 5d525893c3
commit f09382f9a4
1 changed files with 2 additions and 2 deletions

View File

@ -775,9 +775,9 @@ function common_fancy_url($action, $args=NULL) {
case 'imsettings':
return common_path('settings/im');
case 'peoplesearch':
return common_path('search/people' . ($args) ? ('?' . http_build_query($args)) : '');
return common_path('search/people' . (($args) ? ('?' . http_build_query($args)) : ''));
case 'noticesearch':
return common_path('search/notice' . ($args) ? ('?' . http_build_query($args)) : '');
return common_path('search/notice' . (($args) ? ('?' . http_build_query($args)) : ''));
default:
return common_simple_url($action, $args);
}