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

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

Return to bug 12556