From cf2197db38fdca158a0cf02dd878b8f00b75c013 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 --- Koha/Patron.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index 8aae7bbcc0..e064d3d8e1 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