summaryrefslogtreecommitdiffstats
path: root/summarize_time.cgi
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-03-17 15:56:15 +0100
committermkanat%kerio.com <>2005-03-17 15:56:15 +0100
commit9b837ad975360a2f26783581b4e2ff18a4ef3945 (patch)
tree0789c278afad95e8414dbc7222fc034061f5107f /summarize_time.cgi
parent8bb3cb2ac9f523b9f840b26624a74bd4e8c81de2 (diff)
downloadbugzilla-9b837ad975360a2f26783581b4e2ff18a4ef3945.tar.gz
bugzilla-9b837ad975360a2f26783581b4e2ff18a4ef3945.tar.xz
Bug 286501: Summarize time fails with "Can't bind reference" error
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=justdave
Diffstat (limited to 'summarize_time.cgi')
-rwxr-xr-xsummarize_time.cgi10
1 files changed, 5 insertions, 5 deletions
diff --git a/summarize_time.cgi b/summarize_time.cgi
index ab8a6bf50..6ea31fceb 100755
--- a/summarize_time.cgi
+++ b/summarize_time.cgi
@@ -203,10 +203,10 @@ sub get_blocker_ids_unique {
}
sub get_blocker_ids_deep {
- my ($bug_id, $ret) = @_;
- my @deps = Bugzilla::Bug::EmitDependList("blocked", "dependson", $bug_id);
- push @{$ret}, @deps;
- foreach $bug_id (@deps) {
+ my ($bug_id, $ret) = @_;
+ my $deps = Bugzilla::Bug::EmitDependList("blocked", "dependson", $bug_id);
+ push @{$ret}, @$deps;
+ foreach $bug_id (@$deps) {
get_blocker_ids_deep($bug_id, $ret);
}
}
@@ -238,7 +238,7 @@ sub query_work_by_buglist {
bugs.bug_id = longdescs.bug_id
$date_bits } .
$dbh->sql_group_by('longdescs.bug_id, profiles.login_name',
- 'bugs.short_desc, bugs.bug_status') . qq{
+ 'bugs.short_desc, bugs.bug_status, longdescs.bug_when') . qq{
ORDER BY longdescs.bug_when};
my $sth = $dbh->prepare($q);
$sth->execute(@{$date_values});