From 65249d561ded8868782d0a51dbd8ac779a4d1c47 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 --- Koha/Patron/Attribute.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Koha/Patron/Attribute.pm b/Koha/Patron/Attribute.pm index 79b7eaf..906fc6d 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.9.3