diff options
-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 4e51036a6..663d85957 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -971,7 +971,7 @@ sub create { } return \@optional; }, - 'default_authorizer' => new Bugzilla::Auth(), + 'default_authorizer' => sub { return Bugzilla::Auth->new() }, }, }; |