From 22f403954d29b1f194e0263e715c69d456543746 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 --- 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.11.0