If the authorized value description doesn't exist, display the value
This commit is contained in:
parent
d431ebff93
commit
6cc8b7ce10
1 changed files with 5 additions and 3 deletions
|
@ -209,10 +209,12 @@ foreach my $field (@fields) {
|
|||
&& $subf[$i][0] ne $itemtagsubfield));
|
||||
|
||||
$witness{$subf[$i][0]} = $tagslib->{$field->tag()}->{$subf[$i][0]}->{lib} if ($tagslib->{$field->tag()}->{$subf[$i][0]}->{tab} eq 10);
|
||||
if ($tagslib->{$field->tag()}->{$subf[$i][0]}->{tab} eq 10) {
|
||||
$this_row{$subf[$i][0]}=GetAuthorisedValueDesc( $field->tag(),
|
||||
$subf[$i][0], $subf[$i][1], '', $tagslib)
|
||||
|| $subf[$i][1];
|
||||
}
|
||||
|
||||
$this_row{$subf[$i][0]}=GetAuthorisedValueDesc( $field->tag(),
|
||||
$subf[$i][0], $subf[$i][1], '', $tagslib) if ($tagslib->{$field->tag()}->{$subf[$i][0]}->{tab} eq 10);
|
||||
|
||||
if (($field->tag eq $branchtagfield) && ($subf[$i][$0] eq $branchtagsubfield) && C4::Context->preference("IndependantBranches")) {
|
||||
#verifying rights
|
||||
my $userenv = C4::Context->userenv();
|
||||
|
|
Loading…
Reference in a new issue