https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29106
--- Comment #1 from Marcel de Rooy <[email protected]> --- sub effective_itemtype { my ( $self ) = @_; my $pref = C4::Context->preference('item-level_itypes'); if ( $pref && $self->itype() ) { return $self->itype(); } else { warn "item-level_itypes set but no itemtype set for item (".$self->itemnumber.")" if $pref; return $self->biblioitemnumber()->itemtype(); } } This sub c/should be moved out of the DBIx schema file to Koha::Item ? There is no need to warn each time imo. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
