From: Evan Prodromou Date: Wed, 9 Jul 2008 22:37:01 +0000 (-0400) Subject: use smarter query builder X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5d525893c3f5339194079cd653ecd8d7853ef9eb;p=quix0rs-gnu-social.git use smarter query builder darcs-hash:20080709223701-84dde-a2bc25d65eeb70d24d4c598ef962e17062390fc4.gz --- diff --git a/lib/util.php b/lib/util.php index 91b9381ef8..36baab8aa8 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) ? ('?' . http_build_query($args)) : ''); case 'noticesearch': - return common_path('search/notice' . ($args) ? ('?' . implode('&', $args)) : ''); + return common_path('search/notice' . ($args) ? ('?' . http_build_query($args)) : ''); default: return common_simple_url($action, $args); }