From: Frédéric Buclin Date: Thu, 8 Apr 2010 10:32:16 +0000 (+0200) Subject: Bug 284650: Beginning a chart name with an "_" (underscore) causes errors X-Git-Tag: bugzilla-3.4.7~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db268f33febd51f43a2c1bb9677e64bd9ef75639;p=thirdparty%2Fbugzilla.git Bug 284650: Beginning a chart name with an "_" (underscore) causes errors r=mkanat a=LpSolit --- diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index c5f6b65b09..16d60c8e14 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.