From b2a2246bac236cbe059042482828e68413597fd8 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Wed, 22 Dec 2010 19:21:41 +0100 Subject: [PATCH] Enable HTML::Template's parent_global_vars option. Else setting parameters that do not appear in the template (such as title_overridden) fails horribly. --- IkiWiki.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/IkiWiki.pm b/IkiWiki.pm index 97946bfcf..926d42a49 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1891,6 +1891,7 @@ sub template_depends ($$;@) { }, loop_context_vars => 1, die_on_bad_params => 0, + parent_global_vars => 1, filename => $filename, @_, ($untrusted ? (no_includes => 1) : ()),