X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=opac%2Fopac-downloadcart.pl;h=241f879b4b6509a50a05c25026a2f9efdb5854fd;hb=b40d4052b9ebb6139d43c6155e13c4e6497cac5d;hp=fe80f3008c0ac333ff2ab14b89eb81d27b0c485e;hpb=664a538cb6b2fc086bff1a2339d5116969e5b2c0;p=koha.git diff --git a/opac/opac-downloadcart.pl b/opac/opac-downloadcart.pl index fe80f3008c..241f879b4b 100755 --- a/opac/opac-downloadcart.pl +++ b/opac/opac-downloadcart.pl @@ -68,7 +68,7 @@ if ($bib_list && $format) { case "ris" { $output .= marc2ris($record); } case "bibtex" { $output .= marc2bibtex($record, $biblio); } # We're in the case of a csv profile (firstpass is used for headers printing) : - case /^\d+$/ { $output .= marc2csv($record, $format, $firstpass); } + case /^\d+$/ { $output .= marc2csv($biblio, $format, $firstpass); } } $firstpass = 0;