error 500 when record cannot be loaded
[koha.git] / C4 / Record.pm
index 3b07398..8e09adf 100644 (file)
@@ -362,7 +362,7 @@ sub marcrecord2csv {
 
     # Getting the record
     my $record = GetMarcBiblio($biblio);
-
+    next unless $record;
     # Getting the framework
     my $frameworkcode = GetFrameworkCode($biblio);