[bugzilla-gnome-org-upstream/4.4] Bug 1157405: Bugzilla.parameters is not accessible when requirelogin = 1 and the user is not logged
- From: Andrea Veri <av src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bugzilla-gnome-org-upstream/4.4] Bug 1157405: Bugzilla.parameters is not accessible when requirelogin = 1 and the user is not logged
- Date: Sat, 19 Sep 2015 09:18:45 +0000 (UTC)
commit 3a21f1239b215c9a7f1cb2055c64afeb232c2908
Author: Frédéric Buclin <LpSolit gmail com>
Date: Fri Apr 24 18:48:33 2015 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Bugzilla/WebService/Bugzilla.pm b/Bugzilla/WebService/Bugzilla.pm
index a6037e6..f6d5fc5 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 ||= {};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]