]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1157405: Bugzilla.parameters is not accessible when requirelogin = 1 and the...
authorFrédéric Buclin <LpSolit@gmail.com>
Fri, 24 Apr 2015 16:48:33 +0000 (18:48 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Fri, 24 Apr 2015 16:48:33 +0000 (18:48 +0200)
r=dkl a=glob

Bugzilla/WebService/Bugzilla.pm

index a6037e67ed9cf122996cfcd1393e24fae7aed80d..f6d5fc5f9fec5ff2e486ebec9244265bf3ffe395 100644 (file)
@@ -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 ||= {};