diff options
-rw-r--r-- | lib/util.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php index c6b456a03..91b9381ef 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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); } |