From 61b21ca5b26171178fce1ff509bad1c84a1838ef Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 5 Dec 2019 06:32:25 -0500 Subject: [PATCH] Bug 20256: (QA follow-up) Filter out branchcodes the user has no permissions for Signed-off-by: Bob Bennhoff - CLiC Signed-off-by: Martin Renvoize --- cataloguing/additem.pl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index f5348fc1e6e..96944aea909 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -475,14 +475,7 @@ if ($op eq "additem") { push @errors,"barcode_not_unique"; $current_item = $item->unblessed; # Restore edit form for the same item } else { -<<<<<<< HEAD my $newitemlost = $item->itemlost; -======= - my $newitem = ModItemFromMarc($itemtosave, $biblionumber, $itemnumber); - $itemnumber = q{}; - my $olditemlost = $item->itemlost; - my $newitemlost = $newitem->{itemlost}; ->>>>>>> 5b37193b6fe (Bug 20256: (QA follow-up) Redirect to record details page if user cannot edit this item) if ( $newitemlost && $newitemlost ge '1' && !$olditemlost ) { LostItem( $item->itemnumber, 'additem' ); } -- 2.30.2