http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5635
Matthias Meusburger <matthias.meusbur...@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matthias.meusburger@biblibr | |e.com --- Comment #24 from Matthias Meusburger <matthias.meusbur...@biblibre.com> --- Please note that when no authtypes are provided, bulkmarcimport will crash. A possible patch would be: @@ -544,6 +544,7 @@ sub get_heading_fields{ $debug && warn YAML::Dump($headingfields); } unless ($headingfields){ + my $dbh = C4::Context->dbh; $headingfields=$dbh->selectall_hashref("SELECT auth_tag_to_report, authtypecode from auth_types",'auth_tag_to_report',{Slice=>{}}); $headingfields={C4::Context->preference('marcflavour')=>$headingfields}; } Could you please fix this, Stéphane ? -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/