diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-04-08 12:28:47 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-04-08 12:28:47 +0200 |
commit | 3d873277f20aacb25a0f37dbe3544c6459259a23 (patch) | |
tree | fe9c8e7892f48a2219667cedf609d02e8b7b48ad | |
parent | 51bdc50c7ff7caab9c57a67d9cc168347e2d1a11 (diff) | |
download | bugzilla-3d873277f20aacb25a0f37dbe3544c6459259a23.tar.gz bugzilla-3d873277f20aacb25a0f37dbe3544c6459259a23.tar.xz |
Bug 284650: Beginning a chart name with an "_" (underscore) causes errors
r/a=mkanat
-rw-r--r-- | Bugzilla/Template.pm | 3 |
1 files changed, 3 insertions, 0 deletions
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. |