Enable HTML::Template's parent_global_vars option.
Else setting parameters that do not appear in the template (such as title_overridden) fails horribly.master
parent
406485917a
commit
b2a2246bac
|
@ -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) : ()),
|
||||
|
|
Loading…
Reference in New Issue