summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm2
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