From 68bd0effad71dbd9d41c309811ddeb17ea3b5417 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 50c4937fbe..d80a197872 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -521,14 +521,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