summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-09 18:38:03 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-09 18:38:03 -0400
commitf09382f9a49fb8b0c9b3e16eb9e21e4f1bfa1648 (patch)
treee33c5f7669e2b08c19e96d0124a7dc29659398d0
parent5d525893c3f5339194079cd653ecd8d7853ef9eb (diff)
try some scoping
darcs-hash:20080709223803-84dde-c04d91be4d0a39d173297633cf5cad464ea52c4e.gz
-rw-r--r--lib/util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php
index 36baab8aa..d86cc5e4c 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) ? ('?' . 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);
}