Commit 9333dc19 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 1157405: Bugzilla.parameters is not accessible when requirelogin = 1 and the…

Bug 1157405: Bugzilla.parameters is not accessible when requirelogin = 1 and the user is not logged in r=dkl a=glob
parent 3fdf31b2
...@@ -157,7 +157,7 @@ sub last_audit_time { ...@@ -157,7 +157,7 @@ sub last_audit_time {
sub parameters { sub parameters {
my ($self, $args) = @_; my ($self, $args) = @_;
my $user = Bugzilla->login(); my $user = Bugzilla->login(LOGIN_OPTIONAL);
my $params = Bugzilla->params; my $params = Bugzilla->params;
$args ||= {}; $args ||= {};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment