Commits

Matthew Schinckel committed b4f141a

Fix for if no know page_url context variable exists.

  • Participants
  • Parent commits 11aab32

Comments (0)

Files changed (1)

File menus/templatetags/menu_item.py

         page_url = context['flatpage'].url
     elif context.has_key('request'):
         page_url = context['request'].path
+    else:
+        page_url = ""
     
     return {
         'url': url,