From: Frédéric Buclin Date: Fri, 24 Apr 2015 16:48:33 +0000 (+0200) Subject: Bug 1157405: Bugzilla.parameters is not accessible when requirelogin = 1 and the... X-Git-Tag: bugzilla-4.4.10~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a21f1239b215c9a7f1cb2055c64afeb232c2908;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 a6037e67ed..f6d5fc5f9f 100644 --- a/Bugzilla/WebService/Bugzilla.pm +++ b/Bugzilla/WebService/Bugzilla.pm @@ -154,7 +154,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 ||= {};