Skip to content

Commit

Permalink
Fixed method call to use named params
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Oct 9, 2012
1 parent 2cdec66 commit b09f878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/lib/helpers.py
Expand Up @@ -608,7 +608,7 @@ def linked_user(user, maxlength=0, avatar=20):
return user_name
if user:
name = user.name if model.User.VALID_NAME.match(user.name) else user.id
icon = gravatar(user.email_hash, avatar, None, user.id)
icon = gravatar(email_hash=user.email_hash, size=avatar, user_id=user.id)
displayname = user.display_name
if maxlength and len(user.display_name) > maxlength:
displayname = displayname[:maxlength] + '...'
Expand Down

0 comments on commit b09f878

Please sign in to comment.