Merge branch 'bug_10088' into 3.14-master

This commit is contained in:
Jared Camins-Esakov 2013-04-27 08:23:34 -04:00
commit 9c79f18317

View file

@ -2709,7 +2709,11 @@ sub PrepareItemrecordDisplay {
$authorised_lib{$branchcode} = $branchname;
}
}
$defaultvalue = $defaultvalues->{branchcode} || C4::Context->userenv->{branch};
$defaultvalue = C4::Context->userenv->{branch};
if ( $defaultvalues and $defaultvalues->{branchcode} ) {
$defaultvalue = $defaultvalues->{branchcode};
}
#----- itemtypes
} elsif ( $tagslib->{$tag}->{$subfield}->{authorised_value} eq "itemtypes" ) {