Bug 29844: Fix ->search occurrences
[srvgit] / acqui / duplicate_orders.pl
index 1964b41..d22babe 100755 (executable)
@@ -117,7 +117,7 @@ elsif ( $op eq 'batch_edit' ) {
     @{$budget_loop} =
       sort { uc( $a->{b_txt} ) cmp uc( $b->{b_txt} ) } @{$budget_loop};
 
-    my @currencies = Koha::Acquisition::Currencies->search;
+    my @currencies = Koha::Acquisition::Currencies->search->as_list;
     $template->param(
         currencies  => \@currencies,
         budget_loop => $budget_loop,