summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-07-30 21:52:21 +0200
committerjake%acutex.net <>2001-07-30 21:52:21 +0200
commit759a18801e846f9fca62afb4b43df0252669ba7d (patch)
tree1fd0e98b66e4a02a7b062eb90b7b62be2dcec6d9
parent0ddaf7eee482fb742d34a1d6730e4100fad7b06e (diff)
downloadbugzilla-759a18801e846f9fca62afb4b43df0252669ba7d.tar.gz
bugzilla-759a18801e846f9fca62afb4b43df0252669ba7d.tar.xz
Fix for bug 92713, show_activity.pl displays zeros as non-breaking spaces.
Patch by Myk Melez <myk@mozilla.org> r= jake@acutex.net
-rw-r--r--CGI.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/CGI.pl b/CGI.pl
index 06d32d05f..425956370 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -1157,8 +1157,8 @@ sub DumpBugActivity {
my ($field,$when,$removed,$added,$who) = (@row);
$removed = html_quote($removed);
$added = html_quote($added);
- $removed ||= "&nbsp;";
- $added ||= "&nbsp;";
+ $removed = "&nbsp;" if $removed eq "";
+ $added = "&nbsp;" if $added eq "";
print "<tr>\n";
print "<td>$who</td>\n";
print "<td>$field</td>\n";