We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04741fd commit 65d8c89Copy full SHA for 65d8c89
Plugin/Job/Product.php
@@ -16,7 +16,7 @@ public function __construct(
16
) {
17
}
18
19
- public function getFamiliesToExport(): ?string
+ public function getFamiliesToExclude(): ?string
20
{
21
return $this->scopeConfig->getValue(self::PRODUCTS_FILTERS_EXCLUDED_FAMILIES);
22
@@ -25,7 +25,7 @@ public function afterGetFamiliesToImport(
25
AkeneoProduct $subject,
26
array $families
27
): array {
28
- $familiesToExclude = explode(',', $this->getFamiliesToExport());
+ $familiesToExclude = explode(',', $this->getFamiliesToExclude() ?? '');
29
30
if (!$families || $families[0] === '') {
31
$families = array_values($this->familyFilter->getFamilies() ?? []);
0 commit comments