From 5ff9f513ed6b901099571c89cd716f9248332729 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Thu, 4 Sep 2014 10:26:51 +0200 Subject: [PATCH] Bug 12871 - wthdrawn instead of withdrawn in ILSDI Bug 10550 as renamed items.wthdrawn into items.withdrawn. This change was missing in ILSDI/Services.pm Test plan : Test ILSDI webservice GetAvailability on a item with items.withdrawn > 0. Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Fixes what seems to be the last occurence of wthdrawn. Signed-off-by: Tomas Cohen Arazi --- C4/ILSDI/Services.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm index 0b02bc70d6..45864ab3de 100644 --- a/C4/ILSDI/Services.pm +++ b/C4/ILSDI/Services.pm @@ -772,7 +772,7 @@ sub _availability { return ( $biblionumber, 'not available', 'Checked out', $location ); } elsif ( $item->{'itemlost'} ) { return ( $biblionumber, 'not available', 'Item lost', $location ); - } elsif ( $item->{'wthdrawn'} ) { + } elsif ( $item->{'withdrawn'} ) { return ( $biblionumber, 'not available', 'Item withdrawn', $location ); } elsif ( $item->{'damaged'} ) { return ( $biblionumber, 'not available', 'Item damaged', $location ); -- 2.39.5