Bug 12622: Fix export report as ods
[koha.git] / reports / manager.pl
index 4ca5595..01b4deb 100755 (executable)
@@ -29,7 +29,7 @@ use C4::Circulation;
 my $input = new CGI;
 my $report_name=$input->param("report_name");
 my $do_it=$input->param('do_it');
-my $fullreportname = "reports/".$report_name.".tmpl";
+my $fullreportname = "reports/".$report_name.".tt";
 my @values = $input->param("value");
 my ($template, $borrowernumber, $cookie)
        = get_template_and_user({template_name => $fullreportname,
@@ -47,7 +47,6 @@ unless (-r $cgidir and -d $cgidir) {
        $cgidir = C4::Context->intranetdir."/reports/";
 } 
 my $plugin = $cgidir.$report_name.".plugin";
-warn "PLUGIN:".$plugin;
 require $plugin;
 if ($do_it) {
        my $results = calculate(\@values);