From 36cfb22621c5afa1d1e094a51e9d68937d1bf7d5 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 29 Mar 2017 16:39:36 -0300 Subject: [PATCH] Bug 17828: return $self to be consistent Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- Koha/Patron/Attribute.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Koha/Patron/Attribute.pm b/Koha/Patron/Attribute.pm index 79b7eaf61c..906fc6d3c9 100644 --- a/Koha/Patron/Attribute.pm +++ b/Koha/Patron/Attribute.pm @@ -140,6 +140,8 @@ sub _check_unique_id { Koha::Exceptions::Patron::Attribute::UniqueIDConstraint->throw() if $unique_count > 0; } + + return $self; } =head3 _type -- 2.39.5