summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-02-26 02:57:15 +0100
committertravis%sedsystems.ca <>2005-02-26 02:57:15 +0100
commit555a6472f907b5ba3f3d96e068f5afd830575db1 (patch)
treed94747d555ac90f0367d060f636c81f49371794d /globals.pl
parent58d63b1333c16f709694b8013c492a04cf169c18 (diff)
downloadbugzilla-555a6472f907b5ba3f3d96e068f5afd830575db1.tar.gz
bugzilla-555a6472f907b5ba3f3d96e068f5afd830575db1.tar.xz
Bug 182939 : Remove the word 'Additional' from 'Additional Comments'
Patch by Shane H. W. Travis <travis@sedsystems.ca> r=myk a=myk
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/globals.pl b/globals.pl
index 1bfbe2306..9ec915792 100644
--- a/globals.pl
+++ b/globals.pl
@@ -967,8 +967,8 @@ sub GetLongDescriptionAsText {
"AND longdescs.bug_id = $id ");
if ($start && $start =~ /[1-9]/) {
- # If the start is all zeros, then don't do this (because we want to
- # not emit a leading "Additional Comments" line in that case.)
+ # If $start is not all zeros, obtain the count-index
+ # of this comment for the leading "Comment #xxx" line.)
$query .= "AND longdescs.bug_when > '$start'";
SendSQL("SELECT count(*) FROM longdescs WHERE bug_id = $id AND bug_when <= '$start'");
($count) = (FetchSQLData());
@@ -983,7 +983,7 @@ sub GetLongDescriptionAsText {
my ($who, $when, $text, $isprivate, $work_time, $already_wrapped) =
(FetchSQLData());
if ($count) {
- $result .= "\n\n------- Additional comment #$count from $who".Param('emailsuffix')." ".
+ $result .= "\n\n------- Comment #$count from $who".Param('emailsuffix')." ".
Bugzilla::Util::format_time($when) . " -------\n";
}
if (($isprivate > 0) && Param("insidergroup")) {