From 0449a5cf9c4c9a52d2b3fdb78b14240dd59ce31b Mon Sep 17 00:00:00 2001 From: Mirko Tietgen Date: Mon, 22 Jun 2015 18:32:36 +0200 Subject: [PATCH] Bug 13930 Followup: fixing 'undefined subroutine' errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixing the errors Undefined subroutine &C4::Reserves::GetReserveCountFromItemnumber called at <…>/koha/C4/NCIP/LookupItemSet.pm line 90. Undefined subroutine &C4::Reserves::GetReservesFromBorrowernumber called at <…>/koha/C4/NCIP/LookupUser.pm line 80 Undefined subroutine &C4::Items::GetItem called at <…>/koha/C4/NCIP/LookupItem.pm line 77. --- C4/NCIP/LookupItem.pm | 1 + C4/NCIP/LookupItemSet.pm | 1 + C4/NCIP/LookupUser.pm | 1 + 3 files changed, 3 insertions(+) diff --git a/C4/NCIP/LookupItem.pm b/C4/NCIP/LookupItem.pm index 737d4aa..a8eaacd 100644 --- a/C4/NCIP/LookupItem.pm +++ b/C4/NCIP/LookupItem.pm @@ -21,6 +21,7 @@ package C4::NCIP::LookupItem; use Modern::Perl; use C4::NCIP::NcipUtils; +use C4::Items; =head1 NAME diff --git a/C4/NCIP/LookupItemSet.pm b/C4/NCIP/LookupItemSet.pm index b82198c..a6135ad 100644 --- a/C4/NCIP/LookupItemSet.pm +++ b/C4/NCIP/LookupItemSet.pm @@ -20,6 +20,7 @@ package C4::NCIP::LookupItemSet; use Modern::Perl; +use C4::Reserves; =head1 NAME diff --git a/C4/NCIP/LookupUser.pm b/C4/NCIP/LookupUser.pm index c0403b1..0fc80e5 100644 --- a/C4/NCIP/LookupUser.pm +++ b/C4/NCIP/LookupUser.pm @@ -21,6 +21,7 @@ package C4::NCIP::LookupUser; use Modern::Perl; use C4::NCIP::NcipUtils; +use C4::Reserves; =head1 NAME -- 2.1.4