my $biblioitemnumber=$cgi->param('biblioitemnumber');
my $itemlost=$cgi->param('itemlost');
my $itemnotes=$cgi->param('itemnotes');
my $biblioitemnumber=$cgi->param('biblioitemnumber');
my $itemlost=$cgi->param('itemlost');
my $itemnotes=$cgi->param('itemnotes');
my $item_data_hashref = GetItem($itemnumber, undef);
# make sure item statuses are set to 0 if empty or NULL
my $item_data_hashref = GetItem($itemnumber, undef);
# make sure item statuses are set to 0 if empty or NULL
-} elsif ($wthdrawn ne $item_data_hashref->{'wthdrawn'}) {
- $item_changes->{'wthdrawn'} = $wthdrawn;
+} elsif ($withdrawn ne $item_data_hashref->{'withdrawn'}) {
+ $item_changes->{'withdrawn'} = $withdrawn;