@@ -, +, @@ Attach item feature --- Koha/Item.pm | 1 + 1 file changed, 1 insertion(+) --- a/Koha/Item.pm +++ a/Koha/Item.pm @@ -382,6 +382,7 @@ Return the holdings record of this item sub holding { my ( $self ) = @_; my $holding_rs = $self->_result->holding; + return unless $holding_rs; return Koha::Holding->_new_from_dbic( $holding_rs ); } --