From b38affe19b627a799938e23f6f07d0afdc37d9e3 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 --- Koha/Patron.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index b9b8629..8459299 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.1.4