wrong action for groups

This commit is contained in:
Evan Prodromou 2009-01-24 11:26:28 +01:00
parent 4e44b0b8d7
commit db4271692a

View File

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