Skip to content

Commit

Permalink
Issue #2889: Let ValueStructureToDB return a value structure also in …
Browse files Browse the repository at this point in the history
…undef case.
  • Loading branch information
stefanhaerter committed Jan 30, 2024
1 parent 923829d commit dac5af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kernel/System/DynamicField/Driver/Base.pm
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ Sets IndexValue and IndexSet for complex structures, if necessary.
sub ValueStructureToDB {
my ( $Self, %Param ) = @_;

return unless defined $Param{Value};
return [ { $Param{ValueKey} => undef } ] unless defined $Param{Value};

if ( $Param{Set} ) {
my @ReturnValue;
Expand Down

0 comments on commit dac5af6

Please sign in to comment.