From 3f042af791b143d60f5c3204912a15bdf129c069 Mon Sep 17 00:00:00 2001 From: rangi Date: Wed, 15 Feb 2006 03:14:53 +0000 Subject: [PATCH] Can now add an item --- cataloguing/additem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index 3bfb7c2821..82eabec234 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -99,7 +99,7 @@ if ($op eq "additem") { my $exists = get_item_from_barcode($addedolditem->{'barcode'}); push @errors,"barcode_not_unique" if($exists); # if barcode exists, don't create, but report The problem. - $itemnumber = NEWnewitem($dbh,$addedolditem,$biblionumber,$biblioitemnumber) unless ($exists); + $itemnumber = NEWnewitem($dbh,$record,$biblionumber,$biblioitemnumber) unless ($exists); $nextop = "additem"; #------------------------------------------------------------------------------------------------------------------------------ } elsif ($op eq "edititem") { -- 2.39.5