use smarter query builder
darcs-hash:20080709223701-84dde-a2bc25d65eeb70d24d4c598ef962e17062390fc4.gz
This commit is contained in:
parent
f20eca5187
commit
5d525893c3
|
@ -775,9 +775,9 @@ function common_fancy_url($action, $args=NULL) {
|
||||||
case 'imsettings':
|
case 'imsettings':
|
||||||
return common_path('settings/im');
|
return common_path('settings/im');
|
||||||
case 'peoplesearch':
|
case 'peoplesearch':
|
||||||
return common_path('search/people' . ($args) ? ('?' . implode('&', $args)) : '');
|
return common_path('search/people' . ($args) ? ('?' . http_build_query($args)) : '');
|
||||||
case 'noticesearch':
|
case 'noticesearch':
|
||||||
return common_path('search/notice' . ($args) ? ('?' . implode('&', $args)) : '');
|
return common_path('search/notice' . ($args) ? ('?' . http_build_query($args)) : '');
|
||||||
default:
|
default:
|
||||||
return common_simple_url($action, $args);
|
return common_simple_url($action, $args);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue