diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2016-04-14 21:03:00 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2016-04-14 21:03:00 +0200 |
commit | 90d86a9744883ccc120a0a955ffade72990e1505 (patch) | |
tree | 07fd038fc41a2de0259f2f7c6a9de0d55e8a1e34 /editvalues.cgi | |
parent | ae22da8710d00232d28b7c6b9093d2b7e33b0627 (diff) | |
download | bugzilla-90d86a9744883ccc120a0a955ffade72990e1505.tar.gz bugzilla-90d86a9744883ccc120a0a955ffade72990e1505.tar.xz |
Bug 1088022 - Bump min version to CGI 4.09
r=dkl
Diffstat (limited to 'editvalues.cgi')
-rwxr-xr-x | editvalues.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editvalues.cgi b/editvalues.cgi index 4be8cfd44..2b276df4b 100755 --- a/editvalues.cgi +++ b/editvalues.cgi @@ -76,7 +76,7 @@ if (!$cgi->param('field')) { } # At this point, the field must be defined. -my $field = Bugzilla::Field->check($cgi->param('field')); +my $field = Bugzilla::Field->check(scalar $cgi->param('field')); if (!$field->is_select || $field->is_abnormal) { ThrowUserError('fieldname_invalid', { field => $field }); } @@ -119,7 +119,7 @@ if ($action eq 'new') { } # After this, we always have a value -my $value = Bugzilla::Field::Choice->type($field)->check($cgi->param('value')); +my $value = Bugzilla::Field::Choice->type($field)->check(scalar $cgi->param('value')); $vars->{'value'} = $value; # |