From 4e44b0b8d7ecf9da9acae4abeb634a4052afa4db Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 24 Jan 2009 11:24:37 +0100 Subject: [PATCH] Fix the group url (Closes #971) --- lib/util.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/util.php b/lib/util.php index 723b2f2504..ede8db6b69 100644 --- a/lib/util.php +++ b/lib/util.php @@ -903,9 +903,9 @@ function common_fancy_url($action, $args=null) case 'grouplogo': return common_path('group/'.$args['nickname'].'/logo'); case 'usergroups': - return common_path($args['nickname'].'/groups'); + return common_path($args['nickname'].'/groups' . (($args) ? ('?' . http_build_query($args)) : '')); case 'groups': - return common_path('group'); + return common_path('search/group' . (($args) ? ('?' . http_build_query($args)) : '')); default: return common_simple_url($action, $args); } -- 2.39.5