]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 284650: Beginning a chart name with an "_" (underscore) causes errors
authorFrédéric Buclin <LpSolit@gmail.com>
Thu, 8 Apr 2010 10:28:47 +0000 (12:28 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 8 Apr 2010 10:28:47 +0000 (12:28 +0200)
r/a=mkanat

Bugzilla/Template.pm

index 9e8fe8ade6e90db85c0e38f302945de90276d259..da46774a1eb6270b08bcdcbe4df04abd99a4c979 100644 (file)
@@ -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.