]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 92713, show_activity.pl displays zeros as non-breaking spaces.
authorjake%acutex.net <>
Mon, 30 Jul 2001 19:52:21 +0000 (19:52 +0000)
committerjake%acutex.net <>
Mon, 30 Jul 2001 19:52:21 +0000 (19:52 +0000)
Patch by Myk Melez <myk@mozilla.org>
r= jake@acutex.net

CGI.pl

diff --git a/CGI.pl b/CGI.pl
index 06d32d05f04125d1632391308f06e55da5c2c0ac..425956370b1f5a4a5408c685473b33f4ac7d73aa 100644 (file)
--- 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";