From 52dcd36a9480b310454dd15b6302fdc3b1eb66c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Thu, 8 Apr 2010 12:30:32 +0200 Subject: [PATCH] Bug 284650: Beginning a chart name with an "_" (underscore) causes errors r/a=mkanat --- Bugzilla/Template.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 0ae6db7351..0c2f99c169 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -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. -- 2.47.2