summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordave%intrec.com <>2000-08-13 08:30:51 +0200
committerdave%intrec.com <>2000-08-13 08:30:51 +0200
commit2487026163fc2c1c4b511e45ef9a8a6010353ba5 (patch)
tree9da1c0b175e7227a6560c42d0db4fb5869c3b4ae
parent52aae0f4ef531768e1eaab632e0aadd6d3ac66da (diff)
downloadbugzilla-2487026163fc2c1c4b511e45ef9a8a6010353ba5.tar.gz
bugzilla-2487026163fc2c1c4b511e45ef9a8a6010353ba5.tar.xz
Re-fixing bug 30824 the correct way (which also fixes bug 46753)
-rwxr-xr-xprocess_bug.cgi5
1 files 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,