diff --git a/Koha/Reports.pm b/Koha/Reports.pm index 83b92c49e1..6e2f8f3974 100644 --- a/Koha/Reports.pm +++ b/Koha/Reports.pm @@ -103,7 +103,6 @@ sub running { $report_ids{$1} = 1 if $row->{info} =~ /saved_sql\.id:\s*(\d+)/; } - my $rs = $class->search( { id => { -in => [ keys %report_ids ] } } ); return $class->search( { id => { -in => [ keys %report_ids ] } } ); }