Bug 8435: DBRev 3.13.00.038
[koha.git] / C4 / ILSDI / Utility.pm
index 37220c6..b56e1fa 100644 (file)
@@ -35,7 +35,7 @@ use vars qw($VERSION @ISA @EXPORT);
 BEGIN {
 
     # set the version for version checking
-    $VERSION = 3.00;
+    $VERSION = 3.07.00.049;
     require Exporter;
     @ISA    = qw(Exporter);
     @EXPORT = qw(
@@ -93,7 +93,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 );