From 3e1ed17c2264efd2fdb90ee452aa58ebf7645043 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 17 Oct 2016 14:47:30 +0100 Subject: [PATCH] Bug 5670: Does not return 0 in Koha::Patron->housebound_* methods --- Koha/Patron.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index 206a085..f35db8d 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -89,7 +89,7 @@ sub housebound_profile { my $profile = $self->_result->housebound_profile; return Koha::Patron::HouseboundProfile->_new_from_dbic($profile) if ( $profile ); - return 0; + return; } =head3 housebound_role @@ -103,7 +103,7 @@ sub housebound_role { my $role = $self->_result->housebound_role; return Koha::Patron::HouseboundRole->_new_from_dbic($role) if ( $role ); - return 0; + return; } =head3 siblings -- 2.8.1