Bug 35959: Fix C3 merge of 5 modules
Test plan:
Run the following commands:
perl -c Koha/AuthorisedValue.pm
perl -c Koha/Patron/Category.pm
perl -c Koha/Patron/Attribute/Type.pm
perl -c Koha/Account/DebitType.pm
perl -c Koha/Account/CreditType.pm
They should all print 'syntax OK'
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 86acd6ec61)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
3c23516efd
commit
62e4e77fc8
|
|
@ -19,7 +19,6 @@ use Modern::Perl;
|
|||
|
||||
use Koha::Database;
|
||||
use Koha::Exceptions;
|
||||
use Koha::Libraries;
|
||||
|
||||
use Try::Tiny qw( catch try );
|
||||
|
||||
|
|
@ -87,6 +86,8 @@ sub get_library_limits {
|
|||
|
||||
return unless @branchcodes;
|
||||
|
||||
require Koha::Libraries;
|
||||
|
||||
my $filter = [ map { { branchcode => $_ } } @branchcodes ];
|
||||
my $libraries = Koha::Libraries->search( $filter );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue