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

(-)a/C4/Reserves.pm (-2 / +1 lines)
Lines 524-530 sub CanItemBeReserved{ Link Here
524
    # maximum number of holds allowed for this itemtype,
524
    # maximum number of holds allowed for this itemtype,
525
    # we need to check to see if *any* holds are allowed
525
    # we need to check to see if *any* holds are allowed
526
    # for this patron/itemtype as determined by the holds policy
526
    # for this patron/itemtype as determined by the holds policy
527
    my $holds_policy = GetBranchItemRule(
527
    my $holds_policy = C4::Circulation::GetBranchItemRule(
528
          $controlbranch eq "ItemHomeLibrary"
528
          $controlbranch eq "ItemHomeLibrary"
529
        ? $item->{homebranch}
529
        ? $item->{homebranch}
530
        : $borrower->{branchcode},
530
        : $borrower->{branchcode},
531
- 

Return to bug 10314