Skip to content

Commit

Permalink
Issue #2507: Tidied some rebase conflicts and accepted code policy su…
Browse files Browse the repository at this point in the history
…ggestions.
  • Loading branch information
stefanhaerter committed Feb 6, 2024
1 parent ca82831 commit a3b745a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Kernel/System/DynamicField/Driver/BaseDateTime.pm
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ sub EditFieldRender {
push @ResultLabels, $Self->EditLabelRender(
%Param,
Mandatory => $Param{Mandatory} || '0',
FieldName => ( $FieldConfig->{MultiValue} ? $FieldName . '_0' : $FieldName ) . 'Used',
FieldName => $FieldName . 'Used',
);
}

Expand Down
2 changes: 1 addition & 1 deletion Kernel/System/DynamicField/Driver/BaseReference.pm
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,8 @@ sub EditFieldRender {
Mandatory => $Param{Mandatory},
);
my @ResultHTML;
for my $ValueIndex ( 0 .. ( $DFDetails->{Multiselect} ? 0 : $#{$Value} ) ) {
my @ResultLabels;
for my $ValueIndex ( 0 .. ( $DFDetails->{Multiselect} ? 0 : $#{$Value} ) ) {
my $FieldID = $DFDetails->{MultiValue} ? $FieldName . '_' . $ValueIndex : $FieldName;

if ( !$ValueIndex ) {
Expand Down

0 comments on commit a3b745a

Please sign in to comment.