summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorburnus%gmx.de <>2003-02-05 17:50:00 +0100
committerburnus%gmx.de <>2003-02-05 17:50:00 +0100
commit158ad973dc5b810aba2a34e382cb0edf577e87d5 (patch)
tree561f273a8ad69c282963c6092654c812a4811820 /process_bug.cgi
parent5581985d252232132c0d822aff48d12b189a1740 (diff)
downloadbugzilla-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-xprocess_bug.cgi2
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';
}