diff --git a/Service/Importer.php b/Service/Importer.php index 1559dadc..29119b89 100644 --- a/Service/Importer.php +++ b/Service/Importer.php @@ -110,7 +110,7 @@ public function extractToCatalogues(Finder $finder, array $catalogues, array $co $result->set($key, $newTranslation, $domain); // We do not want "translation" key stored anywhere. $meta->removeAllInCategory('translation'); - } elseif (null !== $newTranslation = $meta->getDesc() && $catalogue->getLocale() === $this->defaultLocale) { + } elseif (null !== ($newTranslation = $meta->getDesc()) && $catalogue->getLocale() === $this->defaultLocale) { $result->set($key, $newTranslation, $domain); } }