moved use of C4::Heading to avoid symbol export problem
authorGalen Charlton <galen.charlton@liblime.com>
Thu, 7 Feb 2008 06:11:51 +0000 (00:11 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Fri, 8 Feb 2008 12:01:42 +0000 (06:01 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Biblio.pm

index 6101e7b..2a4649c 100755 (executable)
@@ -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