wrong action for groups

This commit is contained in:
Evan Prodromou 2009-01-24 11:26:28 +01:00
parent 4e44b0b8d7
commit db4271692a
1 changed files with 1 additions and 1 deletions

View File

@ -905,7 +905,7 @@ function common_fancy_url($action, $args=null)
case 'usergroups':
return common_path($args['nickname'].'/groups' . (($args) ? ('?' . http_build_query($args)) : ''));
case 'groups':
return common_path('search/group' . (($args) ? ('?' . http_build_query($args)) : ''));
return common_path('group' . (($args) ? ('?' . http_build_query($args)) : ''));
default:
return common_simple_url($action, $args);
}