diff --git a/Koha/Object.pm b/Koha/Object.pm index 17609f2ada..7f36a7dc15 100644 --- a/Koha/Object.pm +++ b/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(); } }