From: dave%intrec.com <> Date: Sun, 13 Aug 2000 06:30:51 +0000 (+0000) Subject: Re-fixing bug 30824 the correct way (which also fixes bug 46753) X-Git-Tag: bugzilla-2.12~209 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2487026163fc2c1c4b511e45ef9a8a6010353ba5;p=thirdparty%2Fbugzilla.git Re-fixing bug 30824 the correct way (which also fixes bug 46753) --- diff --git a/process_bug.cgi b/process_bug.cgi index 715546fde4..14dbe1a033 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -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,