View | Details | Raw Unified | Return to bug 10314
Collapse All | Expand All

(-)a/C4/Reserves.pm (-2 / +1 lines)
Lines 454-460 sub CanItemBeReserved { Link Here
454
    # maximum number of holds allowed for this itemtype,
454
    # maximum number of holds allowed for this itemtype,
455
    # we need to check to see if *any* holds are allowed
455
    # we need to check to see if *any* holds are allowed
456
    # for this patron/itemtype as determined by the holds policy
456
    # for this patron/itemtype as determined by the holds policy
457
    my $holds_policy = GetBranchItemRule(
457
    my $holds_policy = C4::Circulation::GetBranchItemRule(
458
          $controlbranch eq "ItemHomeLibrary"
458
          $controlbranch eq "ItemHomeLibrary"
459
        ? $item->{homebranch}
459
        ? $item->{homebranch}
460
        : $borrower->{branchcode},
460
        : $borrower->{branchcode},
461
- 

Return to bug 10314