projects
/
koha-equinox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0c41d86
)
Bug 20563: (follow-up) Fix rebasing bug
author
Andrew Isherwood
<andrew.isherwood@ptfs-europe.com>
Thu, 29 Nov 2018 12:26:33 +0000 (12:26 +0000)
committer
Nick Clemens
<nick@bywatersolutions.com>
Fri, 15 Mar 2019 19:33:37 +0000 (19:33 +0000)
Fix erroneous curly brackets
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
ill/ill-requests.pl
patch
|
blob
|
history
diff --git
a/ill/ill-requests.pl
b/ill/ill-requests.pl
index
d6be5c8
..
1598ea8
100755
(executable)
--- a/
ill/ill-requests.pl
+++ b/
ill/ill-requests.pl
@@
-247,10
+247,10
@@
if ( $backends_available ) {
}
catch {
my $error;
- if ( $_->isa( 'Koha::Exceptions::Ill::NoTargetEmail' ) ) {
+ if ( ref($_) eq 'Koha::Exceptions::Ill::NoTargetEmail' ) {
$error = 'no_target_email';
}
- elsif ( $_->isa( 'Koha::Exceptions::Ill::NoLibraryEmail' ) ) {
+ elsif ( ref($_) eq 'Koha::Exceptions::Ill::NoLibraryEmail' ) {
$error = 'no_library_email';
}
else {