diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 6101e7ba8d..2a4649ccda 100755 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -30,7 +30,6 @@ use C4::Branch; use C4::Dates qw/format_date/; use C4::Log; # logaction use C4::ClassSource; -use C4::Heading; use vars qw($VERSION @ISA @EXPORT); @@ -107,6 +106,12 @@ BEGIN { ); } +# because of interdependencies between +# C4::Search, C4::Heading, and C4::Biblio, +# 'use C4::Heading' must occur after +# the exports have been defined. +use C4::Heading; + =head1 NAME C4::Biblio - cataloging management functions