summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-01-14 22:48:05 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-01-14 22:48:05 +0100
commit2fbeb091d9f9682c5ad45777ce81afa286b855ec (patch)
tree2c8307454148f7d8921a275f80beff65926c54c0 /Bugzilla/Template.pm
parentb4f9ca2fe880dd11dfe030b5ccd77c2747dba784 (diff)
parentf4fc2d24552273b713123dc7084bc01d595db119 (diff)
downloadbugzilla-2fbeb091d9f9682c5ad45777ce81afa286b855ec.tar.gz
bugzilla-2fbeb091d9f9682c5ad45777ce81afa286b855ec.tar.xz
merged with bugzilla/4.2
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 fae632a73..5ef7ed1c6 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -970,7 +970,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