Bug 32894: Make ->sharee looks like others
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
9ad94cf3e0
commit
e84ef47018
1 changed files with 2 additions and 1 deletions
|
@ -89,7 +89,8 @@ sub has_expired {
|
|||
|
||||
sub sharee {
|
||||
my $self = shift;
|
||||
return Koha::Patron->_new_from_dbic( $self->_result->borrowernumber );
|
||||
my $rs = $self->_result->borrowernumber;
|
||||
return Koha::Patron->_new_from_dbic( $rs );
|
||||
}
|
||||
|
||||
=head3 _type
|
||||
|
|
Loading…
Reference in a new issue