Browse Source

add INIT block to import C4::Items

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
3.0.x
Galen Charlton 17 years ago
committed by Joshua Ferraro
parent
commit
25cb12ec97
  1. 13
      C4/Reserves.pm

13
C4/Reserves.pm

@ -32,6 +32,19 @@ use C4::Search;
use C4::Circulation;
use C4::Accounts;
INIT {
# an ugly hack to ensure that
# various subs get imported
# into C4::Reserves' symbol table
# FIXME: hopefully can remove once
# we get a better idea of exactly
# how Exporter/use/require/import
# should be used with modules
# that currently call functions
# from each other.
import C4::Items;
}
our ($VERSION,@ISA,@EXPORT,@EXPORT_OK,%EXPORT_TAGS);
my $library_name = C4::Context->preference("LibraryName");

Loading…
Cancel
Save