Skip to content

Commit 5955660

Browse files
plutonio21Nyholm
authored andcommitted
Fixed wrong operand precedence (#258)
1 parent 28fa783 commit 5955660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Service/Importer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function extractToCatalogues(Finder $finder, array $catalogues, array $co
110110
$result->set($key, $newTranslation, $domain);
111111
// We do not want "translation" key stored anywhere.
112112
$meta->removeAllInCategory('translation');
113-
} elseif (null !== $newTranslation = $meta->getDesc() && $catalogue->getLocale() === $this->defaultLocale) {
113+
} elseif (null !== ($newTranslation = $meta->getDesc()) && $catalogue->getLocale() === $this->defaultLocale) {
114114
$result->set($key, $newTranslation, $domain);
115115
}
116116
}

0 commit comments

Comments
 (0)