Closed hylke94 closed 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.
$finalProducts
if
$completeness
The
$finalProducts
is always set, it is set to an empty array before the loop. Theif
after the loop needs to check is the array is empty instead, just like the if check for$completeness
below it.