@@ -, +, @@ rethrowing out of 'if' statement just in case the exception does not came from DBIx::Class --- Koha/Object.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Koha/Object.pm +++ a/Koha/Object.pm @@ -142,9 +142,9 @@ sub store { duplicate_id => $+{key} ); } - # Catch-all for foreign key breakages. It will help find other use cases - $->rethrow(); } + # Catch-all for foreign key breakages. It will help find other use cases + $_->rethrow(); } } --