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

Bugzilla/Template.pm

index 0ae6db7351bb475fde0c79a0e27b83759e24700f..0c2f99c169d406a2638a681a6af21114aee3ed69 100644 (file)
@@ -370,6 +370,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.