Navigation Menu

Skip to content

Commit

Permalink
Pass correct template tag variable name bit to template node.
Browse files Browse the repository at this point in the history
  • Loading branch information
nigma committed Mar 6, 2012
1 parent a2bc094 commit fc6afa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rulez/templatetags/rulez_perms.py
Expand Up @@ -47,6 +47,6 @@ def rulez_perms(parser, token):
if bits[3] != 'as':
raise template.TemplateSyntaxError(
"third argument to tag must be 'as'")
return RulezPermsNode(bits[1], bits[2], bits[3])
return RulezPermsNode(bits[1], bits[2], bits[4])

rulez_perms = register.tag(rulez_perms)

0 comments on commit fc6afa3

Please sign in to comment.