akeneo / magento2-connector-community

Akeneo Connector for Magento 2
Open Software License 3.0
88 stars 89 forks source link

Only fill completeness when we have products #692

Closed hylke94 closed 5 months ago

hylke94 commented 5 months ago

The $finalProducts is always set, it is set to an empty array before the loop. The if after the loop needs to check is the array is empty instead, just like the if check for $completeness below it.