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:
Julian Maurice 2024-04-05 13:56:22 +02:00 committed by Katrin Fischer
parent 98bcde6143
commit 86acd6ec61
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -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 );