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

(-)a/C4/Reserves.pm (-5 / +1 lines)
Lines 562-571 sub CanReserveBeCanceledFromOpac { Link Here
562
    my $reserve = Koha::Holds->find($reserve_id);
562
    my $reserve = Koha::Holds->find($reserve_id);
563
563
564
    return 0 unless $reserve->borrowernumber == $borrowernumber;
564
    return 0 unless $reserve->borrowernumber == $borrowernumber;
565
    return 0 if ( $reserve->found eq 'W' ) or ( $reserve->found eq 'T' );
565
    return $reserve->is_cancelable_from_opac;
566
567
    return 1;
568
569
}
566
}
570
567
571
=head2 GetOtherReserves
568
=head2 GetOtherReserves
572
- 

Return to bug 12556