Skip to content
Snippets Groups Projects
Commit 23165fa4 authored by Antonio Savorelli's avatar Antonio Savorelli
Browse files

Issue #3282733: Improper check for revision_translation_affected property

parent 6eb1f7a3
Branches
Tags
1 merge request!14Issue #3282733: Improper check for revision_translation_affected property
......@@ -42,7 +42,7 @@ class LingotekContentModerationHandler extends BaseLingotekContentModerationHand
$entity_revisions = $entity_storage->loadMultipleRevisions($entity_revisions);
foreach ($entity_revisions as $entity_revision) {
if ($entity_revision->get($entity_type->getkey('revision_translation_affected'))) {
if ($entity_revision->get($entity_type->getKey('revision_translation_affected'))->getString()) {
return $entity_revision;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment