]> 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:32:16 +0000 (12:32 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 8 Apr 2010 10:32:16 +0000 (12:32 +0200)
r=mkanat a=LpSolit

Bugzilla/Template.pm

index c5f6b65b097a8816942b7801f6d083580e68f7f8..16d60c8e1410f209c331741bcd5bf69d8b61c99f 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.