diff --git a/lib/SLUB/LZA/TA/Command/report.pm b/lib/SLUB/LZA/TA/Command/report.pm index ac613f2aad814d7664104ff2efdcfb6213279e34..65d644d7db7b81d91dedff55da3ec764060f083c 100644 --- a/lib/SLUB/LZA/TA/Command/report.pm +++ b/lib/SLUB/LZA/TA/Command/report.pm @@ -158,7 +158,7 @@ sub _execute { sub get_ldp_projects { my ($self, $opt, $args) = @_; - my $query = SLUB::LZA::TA::Archivematica::Elasticsearch::PrepareQuery::prepare_ldpprojects_query($opt); + my $query = SLUB::LZA::TA::Archivematica::Elasticsearch::PrepareQuery::prepare_ldpprojects_query(@_); if (exists $opt->{debug}) { use Data::Printer; say STDERR "query:";