From 90d86a9744883ccc120a0a955ffade72990e1505 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 14 Apr 2016 21:03:00 +0200 Subject: Bug 1088022 - Bump min version to CGI 4.09 r=dkl --- xt/extensions/QA/Extension.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xt') diff --git a/xt/extensions/QA/Extension.pm b/xt/extensions/QA/Extension.pm index 9f60ea95b..2259cfecc 100644 --- a/xt/extensions/QA/Extension.pm +++ b/xt/extensions/QA/Extension.pm @@ -31,7 +31,7 @@ sub page_before_template { print $cgi->header; # Needed to make sure he can access and edit bugs. - my $user = Bugzilla::User->check($cgi->param('sender')); + my $user = Bugzilla::User->check(scalar $cgi->param('sender')); Bugzilla->set_user($user); my ($output, $tmpl_file); @@ -47,7 +47,7 @@ sub page_before_template { elsif ($action =~ /^update(_with_headers)?$/) { my $f = $1 || ''; $tmpl_file = "qa/update_bug$f.txt.tmpl"; - my $bug = Bugzilla::Bug->check($cgi->param('bug_id')); + my $bug = Bugzilla::Bug->check(scalar $cgi->param('bug_id')); $vars->{bug_id} = $bug->id; } else { -- cgit v1.2.3-24-g4f1b