[Koha-bugs] [Bug 8818] Authority linker error on Z cataloging

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 26 01:41:09 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8818

--- Comment #3 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 12511
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12511&action=edit
Bug 8818: make sure we load modules before using them

An eval { eval "require $module;" }; was replaced with
eval { eval { require $module; }; }; which is a no-op, meaning that
the linker was not getting loaded, and the catalog module was throwing
up a big nasty error every time someone tried to save a record with a
heading. This patch replaces the require with can_load from
Module::Load::Conditional, which is PBP-friendly, and offers equivalent
functionality.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list