fixed a syntax error
authorLlewellyn Marshall <llewellyn.marshall@ncdcr.gov>
Thu, 18 Jun 2020 14:46:24 +0000 (10:46 -0400)
committerLlewellyn Marshall <llewellyn.marshall@ncdcr.gov>
Tue, 17 Aug 2021 13:49:37 +0000 (09:49 -0400)
(cherry picked from commit 9c047b3b826ed306ad659ef5430b549871d1f66a)

Open-ILS/src/perlmods/lib/OpenILS/Application/Reporter.pm

index b4182d7..630db3b 100644 (file)
@@ -260,7 +260,7 @@ sub sql_export {
     # where are the params going to come from?
        #   my $report_data = OpenSRF::Utils::JSON->JSON2perl( $t->{report}->{data} );
        #   $b->register_params( $report_data );
-       $rs = $b->parse_report( OpenSRF::Utils::JSON->JSON2perl( $t->{data} ) );
+       my $rs = $b->parse_report( OpenSRF::Utils::JSON->JSON2perl( $t->{data} ) );
     return $rs->toSQL;
 }