Changeset - 0bb2f8c25dde
[Not reviewed]
0 1 0
James Polley - 6 years ago 2018-01-14 22:10:48
jp@jamezpolley.com
Gracefully handle users with no ticket
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templatetags/lca2018_tags.py
Show inline comments
...
 
@@ -104,2 +104,5 @@ def ticket_type(context):
 

	
 
    if not items:
 
        return "NO TICKET"
 

	
 
    item = next(iter(items))
0 comments (0 inline, 0 general)