projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4064859
)
Enable HTML::Template's parent_global_vars option.
author
intrigeri
<intrigeri@boum.org>
Wed, 22 Dec 2010 18:21:41 +0000
(19:21 +0100)
committer
intrigeri
<intrigeri@boum.org>
Wed, 22 Dec 2010 18:21:41 +0000
(19:21 +0100)
Else setting parameters that do not appear in the template (such as
title_overridden) fails horribly.
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index 97946bfcf888a185a193cf5d4ef2f2c353cdb058..926d42a497159845ae8ab94c62a054374a61d468 100644
(file)
--- 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) : ()),