From 0f56ee392b0aa437ba024673fc0a017a5d7c4ce5 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. --- 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 bd201d3..612e255 100644 --- a/C4/ILSDI/Services.pm +++ b/C4/ILSDI/Services.pm @@ -784,7 +784,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