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

(-)a/C4/SIP/ILS/Transaction/FeePayment.pm (-4 / +3 lines)
Lines 84-92 sub pay { Link Here
84
        $pay_response = $account->pay($pay_options);
84
        $pay_response = $account->pay($pay_options);
85
    }
85
    }
86
    catch {
86
    catch {
87
        if ( ref($_) eq 'Koha::Exceptions::Account::RegisterRequired' ) {
87
        if ( ref($_) =~ /^Koha::Exceptions/ ) {
88
            $ok = 0;
88
            $ok    = 0;
89
            $error = q{SIP account must be associated with a register for 'fee paid' messages to succeed};
89
            $error = $_->description;
90
        }
90
        }
91
        else {
91
        else {
92
            $_->rethrow;
92
            $_->rethrow;
93
- 

Return to bug 33216