From bd9d4952fb20675e35f6060448e3bc79fd5692cd Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Thu, 4 Sep 2014 10:26:51 +0200 Subject: [PATCH] [PASSED QA] 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. --- 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 0b02bc7..45864ab 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 ); -- 1.9.1