Bug 18936: (QA follow-up) Remove 2 new occurrences of Koha::IssuingRules

Fix conflict with bug 13121

Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2020-02-03 12:27:40 +01:00 committed by Martin Renvoize
parent 58e3c8e815
commit dde8ea09fc
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
2 changed files with 3 additions and 2 deletions

View File

@ -281,7 +281,7 @@ if ( $op eq 'view' ) {
my $art_req_itypes;
if( C4::Context->preference('ArticleRequests') ) {
$art_req_itypes = Koha::IssuingRules->guess_article_requestable_itemtypes({ $patron ? ( categorycode => $patron->categorycode ) : () });
$art_req_itypes = Koha::CirculationRules->guess_article_requestable_itemtypes({ $patron ? ( categorycode => $patron->categorycode ) : () });
}
my @items;

View File

@ -48,6 +48,7 @@ use C4::XSLT;
use Data::Dumper;
use Koha::Biblios;
use Koha::CirculationRules;
my %newtags = ();
my @deltags = ();
@ -239,7 +240,7 @@ if ($loggedinuser) {
my $art_req_itypes;
if( C4::Context->preference('ArticleRequests') ) {
$art_req_itypes = Koha::IssuingRules->guess_article_requestable_itemtypes({ $patron ? ( categorycode => $patron->categorycode ) : () });
$art_req_itypes = Koha::CirculationRules->guess_article_requestable_itemtypes({ $patron ? ( categorycode => $patron->categorycode ) : () });
}
# get biblionumbers stored in the cart