summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/CGI.pl b/CGI.pl
index abf46a9d5..bbc5863ed 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -523,16 +523,16 @@ sub DumpBugActivity {
my ($id, $starttime) = (@_);
my $datepart = "";
if (defined $starttime) {
- $datepart = "and bugs_activity.when >= $starttime";
+ $datepart = "and bugs_activity.bug_when >= $starttime";
}
my $query = "
- select bugs_activity.field, bugs_activity.when,
+ select bugs_activity.field, bugs_activity.bug_when,
bugs_activity.oldvalue, bugs_activity.newvalue,
profiles.login_name
from bugs_activity,profiles
where bugs_activity.bug_id = $id $datepart
and profiles.userid = bugs_activity.who
- order by bugs_activity.when";
+ order by bugs_activity.bug_when";
SendSQL($query);