Skip to content

Commit

Permalink
Issue #2948: Prevented comparison with undef value.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhaerter authored and svenoe committed Feb 8, 2024
1 parent b67d56e commit 9482c46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kernel/System/ImportExport/ObjectBackend/Translations.pm
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ sub ImportDataSave {
}

# skip if nothing changed
next LANGUAGE if $Self->{ActiveTranslations}{$Language}{$SourceString} eq $NewTranslation{$Language};
next LANGUAGE if ( $Self->{ActiveTranslations}{$Language}{$SourceString} // '' ) eq $NewTranslation{$Language};

if ( $Self->{DraftTranslations}{$Language}{$SourceString} ) {
$LogObject->Log(
Expand Down

0 comments on commit 9482c46

Please sign in to comment.