Lines 75-81
use Koha::Holds;
Link Here
|
75 |
sub new { |
75 |
sub new { |
76 |
my ($class, $item_id) = @_; |
76 |
my ($class, $item_id) = @_; |
77 |
my $type = ref($class) || $class; |
77 |
my $type = ref($class) || $class; |
78 |
my $item = Koha::Items->find( { barcode => $item_id } ); |
78 |
my $item = Koha::Items->find( { barcode => barcodedecode( $item_id ) } ); |
79 |
unless ( $item ) { |
79 |
unless ( $item ) { |
80 |
syslog("LOG_DEBUG", "new ILS::Item('%s'): not found", $item_id); |
80 |
syslog("LOG_DEBUG", "new ILS::Item('%s'): not found", $item_id); |
81 |
warn "new ILS::Item($item_id) : No item '$item_id'."; |
81 |
warn "new ILS::Item($item_id) : No item '$item_id'."; |
82 |
- |
|
|