Bug 32894: Make ->sharee looks like others
Signed-off-by: Nick Clemens <nick@bywatersolutions.com> (cherry picked from commite84ef47018) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commit7b20f2fb4f) Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
parent
a6002b1090
commit
0aacb33994
|
|
@ -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 New Issue