From aaebd7e138e8f7e6ca64e4abbfdf33c6c28274ae Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Thu, 26 Nov 2009 21:53:50 +0100 Subject: [PATCH] Bug Fixing additem : branchcode unwilling changes branchcode was unconditionnally changed to user branch when editing an item --- cataloguing/additem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index dbcb077ae0..67dc8123fc 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -432,7 +432,7 @@ foreach my $tag (sort keys %{$tagslib}) { foreach my $thisbranch (@$branches) { push @authorised_values, $thisbranch->{value}; $authorised_lib{$thisbranch->{value}} = $thisbranch->{branchname}; - $value = $thisbranch->{value} if $thisbranch->{selected}; + # $value = $thisbranch->{value} if $thisbranch->{selected}; } } elsif ( $tagslib->{$tag}->{$subfield}->{authorised_value} eq "itemtypes" ) { -- 2.20.1