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':
|
case 'grouplogo':
|
||||||
return common_path('group/'.$args['nickname'].'/logo');
|
return common_path('group/'.$args['nickname'].'/logo');
|
||||||
case 'usergroups':
|
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':
|
case 'groups':
|
||||||
return common_path('group' . (($args) ? ('?' . http_build_query($args)) : ''));
|
return common_path('group' . (($args) ? ('?' . http_build_query($args)) : ''));
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user