From: jake%acutex.net <> Date: Mon, 30 Jul 2001 19:52:21 +0000 (+0000) Subject: Fix for bug 92713, show_activity.pl displays zeros as non-breaking spaces. X-Git-Tag: bugzilla-2.14~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=759a18801e846f9fca62afb4b43df0252669ba7d;p=thirdparty%2Fbugzilla.git Fix for bug 92713, show_activity.pl displays zeros as non-breaking spaces. Patch by Myk Melez r= jake@acutex.net --- diff --git a/CGI.pl b/CGI.pl index 06d32d05f0..425956370b 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 ||= " "; - $added ||= " "; + $removed = " " if $removed eq ""; + $added = " " if $added eq ""; print "\n"; print "$who\n"; print "$field\n";