@@ -139,7 +139,7 @@ class ProductFamilyController extends AdminController | |||
$repo = $this->em->getRepository(TaxRateInterface::class); | |||
$entity->setTaxRate($repo->find($taxRateId)); | |||
} | |||
dump($productFamilyRequest); | |||
$unitId = intval($productFamilyRequest['unit']); | |||
if ($unitId > 0) { | |||
$repo = $this->em->getRepository(UnitInterface::class); |