From: Frédéric Buclin Date: Fri, 24 Apr 2015 16:46:10 +0000 (+0200) Subject: Bug 1157405: Bugzilla.parameters is not accessible when requirelogin = 1 and the... X-Git-Tag: release-5.0~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9333dc1964c093c3790817998317b28ee4a57c1b;p=thirdparty%2Fbugzilla.git Bug 1157405: Bugzilla.parameters is not accessible when requirelogin = 1 and the user is not logged in r=dkl a=glob --- diff --git a/Bugzilla/WebService/Bugzilla.pm b/Bugzilla/WebService/Bugzilla.pm index ad2bf32ded..848cffd305 100644 --- a/Bugzilla/WebService/Bugzilla.pm +++ b/Bugzilla/WebService/Bugzilla.pm @@ -157,7 +157,7 @@ sub last_audit_time { sub parameters { my ($self, $args) = @_; - my $user = Bugzilla->login(); + my $user = Bugzilla->login(LOGIN_OPTIONAL); my $params = Bugzilla->params; $args ||= {};