Bug 9033: Wide character error in runreport.pl
authorJulian Maurice <julian.maurice@biblibre.com>
Thu, 22 Nov 2012 16:19:41 +0000 (17:19 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 12 Dec 2012 12:26:52 +0000 (07:26 -0500)
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>
misc/cronjobs/runreport.pl

index 8bb4266..2357ed8 100755 (executable)
@@ -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 "")