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

(-)a/C4/Reserves.pm (-1 / +2 lines)
Lines 324-329 See CanItemBeReserved() for possible return values. Link Here
324
sub CanBookBeReserved{
324
sub CanBookBeReserved{
325
    my ($borrowernumber, $biblionumber, $pickup_branchcode, $params) = @_;
325
    my ($borrowernumber, $biblionumber, $pickup_branchcode, $params) = @_;
326
326
327
    return { status => '' } unless $borrowernumber;
328
327
    # Check that patron have not checked out this biblio (if AllowHoldsOnPatronsPossessions set)
329
    # Check that patron have not checked out this biblio (if AllowHoldsOnPatronsPossessions set)
328
    if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions')
330
    if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions')
329
        && C4::Circulation::CheckIfIssuedToPatron( $borrowernumber, $biblionumber ) ) {
331
        && C4::Circulation::CheckIfIssuedToPatron( $borrowernumber, $biblionumber ) ) {
330
- 

Return to bug 30556