From 2487026163fc2c1c4b511e45ef9a8a6010353ba5 Mon Sep 17 00:00:00 2001 From: "dave%intrec.com" <> Date: Sun, 13 Aug 2000 06:30:51 +0000 Subject: Re-fixing bug 30824 the correct way (which also fixes bug 46753) --- process_bug.cgi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/process_bug.cgi b/process_bug.cgi index 715546fde..14dbe1a03 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, -- cgit v1.2.3-24-g4f1b