From 3d873277f20aacb25a0f37dbe3544c6459259a23 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 8 Apr 2010 12:28:47 +0200 Subject: Bug 284650: Beginning a chart name with an "_" (underscore) causes errors r/a=mkanat --- Bugzilla/Template.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Bugzilla/Template.pm') diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 9e8fe8ade..da46774a1 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -369,6 +369,9 @@ $Template::Directive::WHILE_MAX = 1000000; # to template variables. use Template::Stash; +# Allow keys to start with an underscore or a dot. +$Template::Stash::PRIVATE = undef; + # Add "contains***" methods to list variables that search for one or more # items in a list and return boolean values representing whether or not # one/all/any item(s) were found. -- cgit v1.2.3-24-g4f1b