Fix pagination on user groups page
This commit is contained in:
parent
0e9cdf5859
commit
5b211271f9
|
@ -903,7 +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' . (($args) ? ('?' . http_build_query($args)) : ''));
|
||||
$nickname = $args['nickname'];
|
||||
unset($args['nickname']);
|
||||
return common_path($nickname.'/groups' . (($args) ? ('?' . http_build_query($args)) : ''));
|
||||
case 'groups':
|
||||
return common_path('group' . (($args) ? ('?' . http_build_query($args)) : ''));
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue
Block a user