Fix the group url (Closes #971)
This commit is contained in:
parent
a611408dca
commit
4e44b0b8d7
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user