Bug 545260: In the code for template hooks, the cached code of a hook

wasn't being stored properly per-language.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@259738 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org 2010-02-17 22:47:48 +00:00
parent a95d3e7396
commit 0db5ab5da1
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
7001
7002

View File

@ -62,7 +62,7 @@ sub process {
# Get the hooks out of the cache if they exist. Otherwise, read them
# from the disk.
my $cache = Bugzilla->request_cache->{template_plugin_hook_cache} ||= {};
my $lang = $cache->{language} || '';
my $lang = Bugzilla->request_cache->{language} || '';
$cache->{"${lang}__$extension_template"}
||= $self->_get_hooks($extension_template);