From c698db3265df91ad80b2e1391bd4a450a9942aae Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Fri, 24 Apr 2015 18:38:39 +0200 Subject: Bug 1157405: Bugzilla.parameters is not accessible when requirelogin = 1 and the user is not logged in r=dkl a=glob --- Bugzilla/WebService/Bugzilla.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/WebService/Bugzilla.pm') diff --git a/Bugzilla/WebService/Bugzilla.pm b/Bugzilla/WebService/Bugzilla.pm index f94ea55c9..e1d1b62a1 100644 --- a/Bugzilla/WebService/Bugzilla.pm +++ b/Bugzilla/WebService/Bugzilla.pm @@ -153,7 +153,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 ||= {}; -- cgit v1.2.3-24-g4f1b