summaryrefslogtreecommitdiffstats
path: root/xt
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2016-04-14 21:03:00 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2016-04-14 21:03:00 +0200
commit90d86a9744883ccc120a0a955ffade72990e1505 (patch)
tree07fd038fc41a2de0259f2f7c6a9de0d55e8a1e34 /xt
parentae22da8710d00232d28b7c6b9093d2b7e33b0627 (diff)
downloadbugzilla-90d86a9744883ccc120a0a955ffade72990e1505.tar.gz
bugzilla-90d86a9744883ccc120a0a955ffade72990e1505.tar.xz
Bug 1088022 - Bump min version to CGI 4.09
r=dkl
Diffstat (limited to 'xt')
-rw-r--r--xt/extensions/QA/Extension.pm4
1 files changed, 2 insertions, 2 deletions
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 {