View | Details | Raw Unified | Return to bug 35959
Collapse All | Expand All

(-)a/Koha/Account/Line.pm (-2 / +1 lines)
Lines 27-33 use Koha::Account::Offsets; Link Here
27
use Koha::Database;
27
use Koha::Database;
28
use Koha::DateUtils qw( dt_from_string );
28
use Koha::DateUtils qw( dt_from_string );
29
use Koha::Exceptions::Account;
29
use Koha::Exceptions::Account;
30
use Koha::Items;
31
use Koha::Patron::Debarments;
30
use Koha::Patron::Debarments;
32
31
33
use base qw(Koha::Object Koha::Object::Mixin::AdditionalFields);
32
use base qw(Koha::Object Koha::Object::Mixin::AdditionalFields);
Lines 80-85 sub item { Link Here
80
    my ( $self ) = @_;
79
    my ( $self ) = @_;
81
    my $rs = $self->_result->itemnumber;
80
    my $rs = $self->_result->itemnumber;
82
    return unless $rs;
81
    return unless $rs;
82
    require Koha::Item;
83
    return Koha::Item->_new_from_dbic( $rs );
83
    return Koha::Item->_new_from_dbic( $rs );
84
}
84
}
85
85
86
- 

Return to bug 35959