From 0a1410c288d2aeaa54286e278d8cd66e400e37d0 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 0ae6128..195da6e 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.10.2