summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-04-08 12:28:47 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-04-08 12:28:47 +0200
commit3d873277f20aacb25a0f37dbe3544c6459259a23 (patch)
treefe9c8e7892f48a2219667cedf609d02e8b7b48ad /Bugzilla/Template.pm
parent51bdc50c7ff7caab9c57a67d9cc168347e2d1a11 (diff)
downloadbugzilla-3d873277f20aacb25a0f37dbe3544c6459259a23.tar.gz
bugzilla-3d873277f20aacb25a0f37dbe3544c6459259a23.tar.xz
Bug 284650: Beginning a chart name with an "_" (underscore) causes errors
r/a=mkanat
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm3
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.