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>
This commit is contained in:
parent
98bcde6143
commit
86acd6ec61
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue