Bug Fixing additem : branchcode unwilling changes

branchcode was unconditionnally changed to user branch when editing an item
This commit is contained in:
Henri-Damien LAURENT 2009-11-26 21:53:50 +01:00
parent 37feb640af
commit aaebd7e138
1 changed files with 1 additions and 1 deletions

View File

@ -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" ) {