@@ -, +, @@ --------- selected barcode is not withdrawn. -- the Withdrawn column displays '0'. -- the Withdrawn column displays '' (as expected) --- tools/inventory.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/inventory.pl +++ a/tools/inventory.pl @@ -272,7 +272,7 @@ foreach my $item ( @scanned_items ) { # If the koha field is mapped to a marc field my $fc = $item->{'frameworkcode'} || ''; my ($f, $sf) = GetMarcFromKohaField("items.$field", $fc); - if ($f and $sf) { + if (defined $f and defined $sf) { # We replace the code with it's description my $authvals = C4::Koha::GetKohaAuthorisedValuesFromField($f, $sf, $fc); if ($authvals and defined $item->{$field} and defined $authvals->{$item->{$field}}) { --