diff options
author | Dylan Hardison <dylan@mozilla.com> | 2016-04-22 17:56:44 +0200 |
---|---|---|
committer | Dylan Hardison <dylan@mozilla.com> | 2016-04-22 17:56:44 +0200 |
commit | dacce0f73894bae5b7c4df2594ca4dd48dfeec0d (patch) | |
tree | 0a8b244bc31306c535e5e285deb3b5e30c4cb6c5 /Bugzilla/Template.pm | |
parent | dab15f57403d7499c958a20e0c96ebf3083a6745 (diff) | |
download | bugzilla-dacce0f73894bae5b7c4df2594ca4dd48dfeec0d.tar.gz bugzilla-dacce0f73894bae5b7c4df2594ca4dd48dfeec0d.tar.xz |
Bug 1195736 - intermittent internal error: "file error - nav_link: not found" (also manifests as fields_lhs: not found)
Diffstat (limited to 'Bugzilla/Template.pm')
-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 56ebd9c21..343753d46 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -665,12 +665,15 @@ $Template::Stash::SCALAR_OPS->{ truncate } = ############################################################################### +our $is_processing = 0; + sub process { my $self = shift; # All of this current_langs stuff allows template_inner to correctly # determine what-language Template object it should instantiate. my $current_langs = Bugzilla->request_cache->{template_current_lang} ||= []; unshift(@$current_langs, $self->context->{bz_language}); + local $is_processing = 1; my $retval = $self->SUPER::process(@_); shift @$current_langs; return $retval; |