From: mkanat%bugzilla.org <> Date: Tue, 19 Sep 2006 01:56:38 +0000 (+0000) Subject: Bug 223880: "marked a duplicate" messages cannot be localized X-Git-Tag: bugzilla-2.23.3~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fef6f78c2c8b9441dfd268257d40691ec79ef9a1;p=thirdparty%2Fbugzilla.git Bug 223880: "marked a duplicate" messages cannot be localized Patch By Max Kanat-Alexander r=LpSolit, a=myk --- diff --git a/Bugzilla.pm b/Bugzilla.pm index c4300b0b54..ef67643af7 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -146,6 +146,12 @@ sub template { return request_cache()->{template}; } +sub template_inner { + my $class = shift; + $class->request_cache->{template_inner} ||= Bugzilla::Template->create(); + return $class->request_cache->{template_inner}; +} + sub cgi { my $class = shift; request_cache()->{cgi} ||= new Bugzilla::CGI(); @@ -452,6 +458,11 @@ that. The current C