aboutsummaryrefslogtreecommitdiffstats
path: root/summarize_time.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'summarize_time.cgi')
-rwxr-xr-xsummarize_time.cgi7
1 files changed, 4 insertions, 3 deletions
diff --git a/summarize_time.cgi b/summarize_time.cgi
index 388c82dba..d2b939c82 100755
--- a/summarize_time.cgi
+++ b/summarize_time.cgi
@@ -24,11 +24,12 @@ use Date::Parse; # strptime
use Date::Format; # strftime
use Bugzilla;
+use Bugzilla::Constants; # LOGIN_*
+use Bugzilla::Config qw(:DEFAULT);
use Bugzilla::Bug; # EmitDependList
use Bugzilla::Util; # trim
-use Bugzilla::Constants; # LOGIN_*
+use Bugzilla::Error;
use Bugzilla::User; # UserInGroup
-require "globals.pl";
my $template = Bugzilla->template;
my $vars = {};
@@ -360,7 +361,7 @@ sub get_inactive_bugs {
WHERE longdescs.bug_id IN ($buglist)
$date_bits } .
$dbh->sql_group_by('longdescs.bug_id',
- 'bugs.short_desc, bugs.bug_status,
+ 'bugs.short_desc, bugs.bug_status,
longdescs.bug_when') . qq{
ORDER BY longdescs.bug_when};
$sth = $dbh->prepare($q);