From 9dd4f305f1f3b9b8d238f026effa765fe7fdef06 Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Wed, 3 Oct 2007 19:00:56 +0200 Subject: [PATCH] bugfix $itemtype => $value Signed-off-by: Chris Cormack --- catalogue/MARCdetail.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalogue/MARCdetail.pl b/catalogue/MARCdetail.pl index 68db43b24e..a592a83cd4 100755 --- a/catalogue/MARCdetail.pl +++ b/catalogue/MARCdetail.pl @@ -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}; } -- 2.39.5