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

(-)a/reserve/modrequest.pl (-10 / +11 lines)
Lines 69-83 if( $op eq 'cud-cancelall' || $op eq 'cud-modifyall' ) { Link Here
69
            $params->{reservedate} = $reservedates[$i] || undef;
69
            $params->{reservedate} = $reservedates[$i] || undef;
70
        }
70
        }
71
71
72
        try {
72
        if ( $op eq 'cud-cancelall' ) {
73
            ModReserve($params);
73
            try {
74
        } catch {
74
                ModReserve($params);
75
            if ($_->isa('Koha::Exceptions::ObjectNotFound')){
75
            } catch {
76
                warn $_;
76
                if ( $_->isa('Koha::Exceptions::ObjectNotFound') ) {
77
            } else {
77
                    warn $_;
78
                $_->rethrow;
78
                } else {
79
            }
79
                    $_->rethrow;
80
        };
80
                }
81
            };
82
        }
81
83
82
        if ( $query->param( "change_hold_type_" . $reserve_id[$i] ) ) {
84
        if ( $query->param( "change_hold_type_" . $reserve_id[$i] ) ) {
83
            my $hold = Koha::Holds->find( $reserve_id[$i] );
85
            my $hold = Koha::Holds->find( $reserve_id[$i] );
84
- 

Return to bug 37413