summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-24 11:24:37 +0100
committerEvan Prodromou <evan@controlyourself.ca>2009-01-24 11:24:37 +0100
commit4e44b0b8d7ecf9da9acae4abeb634a4052afa4db (patch)
tree4c5d20625c405d7823f2f433198cddd1247950fc
parenta611408dca7658ab72c18f65b7687322a08e4bd8 (diff)
Fix the group url (Closes #971)
-rw-r--r--lib/util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php
index 723b2f250..ede8db6b6 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);
}