]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 108312 - The mid-air collision page was only showing the most recent changes...
authorjake%acutex.net <>
Tue, 27 Nov 2001 23:04:52 +0000 (23:04 +0000)
committerjake%acutex.net <>
Tue, 27 Nov 2001 23:04:52 +0000 (23:04 +0000)
r=louie, myk

CGI.pl
process_bug.cgi

diff --git a/CGI.pl b/CGI.pl
index da06191e43f99a4fb7f66dc231930ec941bd5fac..5a2b5f7cec8bdf3a7c809e9c9fa041d72559cf11 100644 (file)
--- a/CGI.pl
+++ b/CGI.pl
@@ -1216,7 +1216,7 @@ sub DumpBugActivity {
     die "Invalid id: $id" unless $id=~/^\s*\d+\s*$/;
 
     if (defined $starttime) {
-        $datepart = "and bugs_activity.bug_when >= $starttime";
+        $datepart = "and bugs_activity.bug_when > " . SqlQuote($starttime);
     }
     my $query = "
         SELECT IFNULL(fielddefs.description, bugs_activity.fieldid),
index 9e90827f1d26d6f1a9a701d883fd02f02251e85b..603fc9c979378892fac42141c73772c928b8f29a 100755 (executable)
@@ -979,7 +979,7 @@ Someone else has made changes to this bug at the same time you were trying to.
 The changes made were:
 <p>
 ";
-        DumpBugActivity($id, $delta_ts);
+        DumpBugActivity($id, $::FORM{'delta_ts'});
         my $longdesc = GetLongDescriptionAsHTML($id);
         my $longchanged = 0;