Re-fixing bug 30824 the correct way (which also fixes bug 46753)

git-svn-id: svn://10.0.0.236/trunk@76229 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dave%intrec.com 2000-08-12 23:30:51 +00:00
parent e659c72f59
commit 8229bb32ee

View File

@ -898,12 +898,11 @@ The changes made were:
}
if ($old ne $new) {
if ($col eq 'assigned_to' || $col eq 'qa_contact') {
$old = DBID_to_name($old) if $old != 0;
$new = DBID_to_name($new) if $new != 0;
$old = ($old) ? DBID_to_name($old) : "";
$new = ($new) ? DBID_to_name($new) : "";
$origCcString .= ",$old"; # make sure to send mail to people
# if they are going to no longer get
# updates about this bug.
$old = "" if $old == 0;
}
if ($col eq 'product') {
RemoveVotes($id, 0,