fix syntax errors in URL builder
darcs-hash:20080709223409-84dde-809bfe5eb294f24cb3a99faf6436e57ff054cd16.gz
This commit is contained in:
parent
62747030ca
commit
f20eca5187
|
@ -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) ? '?' . implode('&', $args)) : '');
|
||||
return common_path('search/people' . ($args) ? ('?' . implode('&', $args)) : '');
|
||||
case 'noticesearch':
|
||||
return common_path('search/notice' . (($args) ? '?' . implode('&', $args)) : '');
|
||||
return common_path('search/notice' . ($args) ? ('?' . implode('&', $args)) : '');
|
||||
default:
|
||||
return common_simple_url($action, $args);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user