Skip to content

Commit

Permalink
[#241] Fix another typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Feb 18, 2013
1 parent 6775825 commit 46534b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/logic/action/create.py
Expand Up @@ -1172,7 +1172,7 @@ def follow_group(context, data_dict):
# Don't let a user follow a group she is already following.
if model.UserFollowingGroup.is_following(userobj.id,
validated_data_dict['id']):
groupobj = model.User.get(validated_data_dict['id'])
groupobj = model.Group.get(validated_data_dict['id'])
name = groupobj.display_name
message = _(
'You are already following group {0}').format(name)
Expand Down

0 comments on commit 46534b1

Please sign in to comment.