Bug 18789: (follow-up) Use Koha::Patron->image from the templates

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2018-02-07 15:54:31 -03:00
parent 6f9c5d45a4
commit 43b60d6eed
1 changed files with 1 additions and 1 deletions

View File

@ -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 {