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:
parent
6f9c5d45a4
commit
43b60d6eed
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue