Bug 9033: Wide character error in runreport.pl

This patch fix a typo that prevented report to be run

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
Julian Maurice 2012-11-22 17:19:41 +01:00 committed by Jared Camins-Esakov
parent 4294869191
commit 18c2962f7e

View file

@ -193,9 +193,9 @@ foreach my $report_id (@ARGV) {
warn "ERROR: No saved report $report_id found";
next;
}
my $sql => $report->{savedsql};
my $report_name => $report->{report_name};
my $type => $report->{type};
my $sql = $report->{savedsql};
my $report_name = $report->{report_name};
my $type = $report->{type};
$verbose and print "SQL: $sql\n\n";
if (defined($report_name) and $report_name ne "")