From b27aaef73b02aec06f6f7bf48b3847630fe8cd84 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 7 Feb 2008 00:11:51 -0600 Subject: [PATCH] moved use of C4::Heading to avoid symbol export problem Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- C4/Biblio.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.5