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

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

Return to bug 10314