|
Lines 252-261
if ( $backends_available ) {
Link Here
|
| 252 |
} |
252 |
} |
| 253 |
catch { |
253 |
catch { |
| 254 |
my $error; |
254 |
my $error; |
| 255 |
if ( ref($_) eq 'Koha::Exceptions::Ill::NoTargetEmail' ) {} |
255 |
if ( ref($_) eq 'Koha::Exceptions::Ill::NoTargetEmail' ) { |
| 256 |
$error = 'no_target_email'; |
256 |
$error = 'no_target_email'; |
| 257 |
} |
257 |
} |
| 258 |
elsif ( ref($_) eq 'Koha::Exceptions::Ill::NoLibraryEmail' ) {} |
258 |
elsif ( ref($_) eq 'Koha::Exceptions::Ill::NoLibraryEmail' ) { |
| 259 |
$error = 'no_library_email'; |
259 |
$error = 'no_library_email'; |
| 260 |
} |
260 |
} |
| 261 |
else { |
261 |
else { |
| 262 |
- |
|
|