From d7e117afe30eedfbca6cde6c0f0cfaf733ed18b2 Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Tue, 5 Aug 2008 08:12:49 -0500 Subject: [PATCH] Revert "bugfix for 2451 : serial recieve & barcode does exist complaint" This reverts commit 23b8da277b0a1aa67f0686aa65a9e0d527a3b26b. --- serials/serials-edit.pl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/serials/serials-edit.pl b/serials/serials-edit.pl index 8cefe5dffd..d54912e495 100755 --- a/serials/serials-edit.pl +++ b/serials/serials-edit.pl @@ -241,10 +241,7 @@ if ($op eq 'serialchangestatus') { # push @errors,"barcode_not_unique" if($exists); $template->param("barcode_not_unique" => 1,'errserialseq'=>$serialseqs[$index]); # if barcode exists, don't create, but report The problem. - if ($exists){ - $url_error_str = "rcv_error=barcode_not_unique&rcv_error_param=$serialseqs[$index]"; - $template->param("barcode_not_unique" => 1,'errserialseq'=>$serialseqs[$index]); - } else { + unless ($exists){ my ($biblionumber,$bibitemnum,$itemnumber) = AddItemFromMarc($record,$itemhash{$item}->{'bibnum'}); AddItem2Serial($itemhash{$item}->{'serial'},$itemnumber); } -- 2.39.5