X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=cataloguing%2Faddbooks.pl;h=b768a29e877862b881ab7ec2ad7e7645fff7741c;hb=9980aa73694e030127e68fe3dadccd2510a584d9;hp=270b16d9597dad37d563fc86a1cc67d982bcce71;hpb=d508f0244bd288066d62dcaa40244702b2581514;p=koha_gimpoz diff --git a/cataloguing/addbooks.pl b/cataloguing/addbooks.pl index 270b16d959..b768a29e87 100755 --- a/cataloguing/addbooks.pl +++ b/cataloguing/addbooks.pl @@ -86,7 +86,7 @@ if ($query) { # format output # SimpleSearch() give the results per page we want, so 0 offet here my $total = @{$marcresults}; - my @newresults = searchResults( 'intranet', $query, $total, $results_per_page, 0, 0, @{$marcresults} ); + my @newresults = searchResults( 'intranet', $query, $total, $results_per_page, 0, 0, $marcresults ); foreach my $line (@newresults) { if ( not exists $line->{'size'} ) { $line->{'size'} = "" } }