From 43b60d6eed5a028fcc629b7db8b33e93d1dd680b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 7 Feb 2018 15:54:31 -0300 Subject: [PATCH] Bug 18789: (follow-up) Use Koha::Patron->image from the templates Signed-off-by: Kyle M Hall Signed-off-by: Josef Moravec Signed-off-by: Jonathan Druart --- Koha/Patron.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index b9b86293a5..84592995e2 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -126,7 +126,7 @@ sub guarantor { sub image { my ( $self ) = @_; - return Koha::Patron::Images->find( $self->borrowernumber ); + return scalar Koha::Patron::Images->find( $self->borrowernumber ); } sub library { -- 2.39.5