bugfix $itemtype => $value

Signed-off-by: Chris Cormack <crc@liblime.com>
This commit is contained in:
Paul POULAIN 2007-10-03 19:00:56 +02:00 committed by Chris Cormack
parent f4339f536f
commit 9dd4f305f1

View file

@ -69,7 +69,7 @@ sub get_authorised_value_desc ($$$$$$) {
#---- itemtypes
if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "itemtypes" ) {
my $itemtypedef = getitemtypeinfo($itemtype);
my $itemtypedef = getitemtypeinfo($value);
return $itemtypedef->{description};
}