diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Template.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 3e883c790..b93e1bfae 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -982,7 +982,7 @@ sub create { } return \@optional; }, - 'default_authorizer' => new Bugzilla::Auth(), + 'default_authorizer' => sub { return Bugzilla::Auth->new() }, }, }; # Use a per-process provider to cache compiled templates in memory across |