diff --git a/Koha/Patron/Modification.pm b/Koha/Patron/Modification.pm index 0fb1d0bbdc..b0e01b7378 100644 --- a/Koha/Patron/Modification.pm +++ b/Koha/Patron/Modification.pm @@ -146,7 +146,7 @@ sub approve { Koha::Exceptions::Patron::Modification->throw( $_->{msg} ); } else { - Koha::Exceptions::Patron::Modification->throw($@); + Koha::Exceptions::Patron::Modification->throw($_); } }; }