From: Evan Prodromou Date: Sat, 24 Jan 2009 10:24:37 +0000 (+0100) Subject: Fix the group url (Closes #971) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4e44b0b8d7ecf9da9acae4abeb634a4052afa4db;p=quix0rs-gnu-social.git Fix the group url (Closes #971) --- 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); }