git-svn-id: svn://10.0.0.236/trunk@265876 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzrmirror%bugzilla.org 2015-03-15 15:30:16 +00:00
parent 201c0f427c
commit ae570c7e2a
4 changed files with 55 additions and 57 deletions

View File

@ -1 +1 @@
689 690

View File

@ -1 +1 @@
e691a21f71d58697c31c8d419a0be8c871314cc9 4fb142b0cf2d0dda56b137ad4286431e52434004

View File

@ -1,7 +1,7 @@
<?php <?php
// by Edd Dumbill (C) 1999-2002 // by Edd Dumbill (C) 1999-2002
// <edd@usefulinc.com> // <edd@usefulinc.com>
// $Id: .xmlrpc.inc.php,v 1.52 2015-03-15 15:15:20 bzrmirror%bugzilla.org Exp $ // $Id: .xmlrpc.inc.php,v 1.53 2015-03-15 15:30:16 bzrmirror%bugzilla.org Exp $
// Copyright (c) 1999,2000,2002 Edd Dumbill. // Copyright (c) 1999,2000,2002 Edd Dumbill.
// All rights reserved. // All rights reserved.

View File

@ -6,6 +6,7 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::Testopia::Reports::CaseRun; package Bugzilla::Extension::Testopia::Reports::CaseRun;
use strict; use strict;
use warnings; use warnings;
@ -25,9 +26,8 @@ sub report {
my $type = $input->{'type'} || ''; my $type = $input->{'type'} || '';
if ($type eq 'status-breakdown') { return if $type eq 'status-breakdown';
}
else {
$input->{'current_tab'} = 'case_run'; $input->{'current_tab'} = 'case_run';
$input->{'viewall'} = 1; $input->{'viewall'} = 1;
my $report = Bugzilla::Extension::Testopia::Report->new('caserun', 'tr_list_caseruns.cgi', $cgi); my $report = Bugzilla::Extension::Testopia::Report->new('caserun', 'tr_list_caseruns.cgi', $cgi);
@ -74,14 +74,12 @@ sub report {
$disp = "attachment"; $disp = "attachment";
} }
print $cgi->header( -type => $format->{'ctype'}, print $cgi->header(-type => $format->{'ctype'},
-content_disposition => "$disp; filename=$filename"); -content_disposition => "$disp; filename=$filename");
$vars->{'time'} = $date; $vars->{'time'} = $date;
$template->process("$format->{'template'}", $vars) $template->process("$format->{'template'}", $vars)
or ThrowTemplateError($template->error()); or ThrowTemplateError($template->error());
exit;
}
} }
1; 1;