Bug 17974 (QA Followup)
Use the $biblio_rs variable In case of Koha::Object you can call new_from_dbic directly, however, it fails for Koha::Objects so using an intermediary variable should be done for consistency Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
c614342f27
commit
236dbdf5f1
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ Return the bibliographic record of this item
|
|||
sub biblio {
|
||||
my ( $self ) = @_;
|
||||
my $biblio_rs = $self->_result->biblio;
|
||||
return Koha::Biblio->_new_from_dbic( $self->_result->biblio );
|
||||
return Koha::Biblio->_new_from_dbic( $biblio_rs );
|
||||
}
|
||||
|
||||
=head3 get_transfer
|
||||
|
|
Loading…
Reference in a new issue