bugfix $itemtype => $value
authorPaul POULAIN <paul@koha-fr.org>
Wed, 3 Oct 2007 17:00:56 +0000 (19:00 +0200)
committerChris Cormack <crc@liblime.com>
Wed, 3 Oct 2007 19:58:07 +0000 (14:58 -0500)
Signed-off-by: Chris Cormack <crc@liblime.com>
catalogue/MARCdetail.pl

index 68db43b..a592a83 100755 (executable)
@@ -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};
     }