Skip to content

Commit

Permalink
Fix missing variable
Browse files Browse the repository at this point in the history
  • Loading branch information
teemulehtinen committed Jan 30, 2016
1 parent eece804 commit dd3170d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions notification/templatetags/notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def _context_user(context):

def _unread_messages(context):
unread = []
message = ""
user = _context_user(context)
if user:
unread = NotificationSet.get_unread(user)
Expand Down

0 comments on commit dd3170d

Please sign in to comment.