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

(-)a/ill/ill-requests.pl (-3 / +2 lines)
Lines 247-256 if ( $backends_available ) { Link Here
247
        }
247
        }
248
        catch {
248
        catch {
249
            my $error;
249
            my $error;
250
            if ( $_->isa( 'Koha::Exceptions::Ill::NoTargetEmail' ) ) {
250
            if ( ref($_) eq 'Koha::Exceptions::Ill::NoTargetEmail' ) {
251
                $error = 'no_target_email';
251
                $error = 'no_target_email';
252
            }
252
            }
253
            elsif ( $_->isa( 'Koha::Exceptions::Ill::NoLibraryEmail' ) ) {
253
            elsif ( ref($_) eq 'Koha::Exceptions::Ill::NoLibraryEmail' ) {
254
                $error = 'no_library_email';
254
                $error = 'no_library_email';
255
            }
255
            }
256
            else {
256
            else {
257
- 

Return to bug 20563