diff options
author | burnus%gmx.de <> | 2003-02-05 17:50:00 +0100 |
---|---|---|
committer | burnus%gmx.de <> | 2003-02-05 17:50:00 +0100 |
commit | 158ad973dc5b810aba2a34e382cb0edf577e87d5 (patch) | |
tree | 561f273a8ad69c282963c6092654c812a4811820 /process_bug.cgi | |
parent | 5581985d252232132c0d822aff48d12b189a1740 (diff) | |
download | bugzilla-158ad973dc5b810aba2a34e382cb0edf577e87d5.tar.gz bugzilla-158ad973dc5b810aba2a34e382cb0edf577e87d5.tar.xz |
bug 191087 - process_bug.cgi: "Mid-air collision!" title when not allowed to change a field
r=gerv, a=justdave
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index 80b318a74..6505d6fcf 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -1108,7 +1108,7 @@ foreach my $id (@idlist) { if (!CheckCanChangeField($col, $id, $oldvalues[$i], $::FORM{$col})) { # More fun hacking... don't display component_id if ($col eq 'component_id') { - $vars->{'oldvalue'} = get_component_name($product_id, $oldhash{'component_id'}); + $vars->{'oldvalue'} = get_component_name($oldhash{'component_id'}); $vars->{'newvalue'} = $::FORM{'component'}; $vars->{'field'} = 'component'; } |