Skip to content

Commit

Permalink
Issue #4167: Yet minor code revisions in BaseEntity
Browse files Browse the repository at this point in the history
  • Loading branch information
Rui Alves authored and svenoe committed Feb 20, 2025
1 parent 88d5bad commit 611b1e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Kernel/System/DynamicField/Driver/BaseEntity.pm
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ sub DisplayValueRender {
: ('');

$Param{ValueMaxChars} ||= '';
my $ItemList = $Self->PossibleValuesGet(
my $PossibleValues = $Self->PossibleValuesGet(
%Param
);
my @ReadableValues;
Expand All @@ -542,7 +542,7 @@ sub DisplayValueRender {
if ($ValueItem) {

# get readable value
$ValueItem = $ItemList->{$ValueItem};
$ValueItem = $PossibleValues->{$ValueItem};
}

# set title as value after update and before limit
Expand Down Expand Up @@ -685,7 +685,7 @@ sub ReadableValueRender {
else {
@Values = ( $Param{Value} );
}
my $ItemList = $Self->PossibleValuesGet(
my $PossibleValues = $Self->PossibleValuesGet(
%Param
);
my @ReadableValues;
Expand All @@ -696,7 +696,7 @@ sub ReadableValueRender {
if ($ValueItem) {

# get readable value
$ValueItem = $ItemList->{$ValueItem};
$ValueItem = $PossibleValues->{$ValueItem};
}

# set title as value after update and before limit
Expand Down

0 comments on commit 611b1e5

Please sign in to comment.