Merge pull request #9373 from manja/4.5

Fixed issue with merging existing entities in text collector
This commit is contained in:
Robbie Averill 2020-01-14 09:27:35 -08:00 committed by GitHub
commit 38d7bd700d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -378,8 +378,8 @@ class i18nTextCollector
// Merge // Merge
if ($existingMessages) { if ($existingMessages) {
$entitiesByModule[$module] = array_merge( $entitiesByModule[$module] = array_merge(
$existingMessages, $messages,
$messages $existingMessages
); );
} }
} }