sub GetAuthorisedValueByCode {
my ( $category, $authvalcode, $opac ) = @_;
if (!defined $authvalcode) {
return;
}
my $field = $opac ? 'lib_opac' : 'lib';
my $dbh = C4::Context->dbh;
-