Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Template: page error from undefined toc_html
Browse files Browse the repository at this point in the history
  • Loading branch information
groovecoder committed Apr 5, 2012
1 parent 96d1c26 commit 07cbf5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/wiki/views.py
Expand Up @@ -245,6 +245,7 @@ def set_common_headers(r):
if resp_errors:
ks_errors = resp_errors

toc_html = None
if not doc.is_template:

# Start applying some filters to the document HTML
Expand Down

0 comments on commit 07cbf5d

Please sign in to comment.