Loading module/Agrement/src/Assertion/AgrementAssertion.php +2 −2 Changes for module/Agrement/src/Assertion/AgrementAssertion.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -227,7 +227,7 @@ class AgrementAssertion extends AbstractAssertion $structureContractualise = $tblContrat->getStructureContractualise($entity->getIntervenant()); $ids = array_column($structureContractualise, 'id'); if (in_array($entity->getStructure()->getId(), $ids)) { if ($entity->getStructure() != NULL && in_array($entity->getStructure()->getId(), $ids)) { return false; } else { if ($structure = $entity->getStructure()) { Loading @@ -251,7 +251,7 @@ class AgrementAssertion extends AbstractAssertion $structureContractualise = $tblContrat->getStructureContractualise($entity->getIntervenant()); $ids = array_column($structureContractualise, 'id'); if (in_array($entity->getStructure()->getId(), $ids)) { if ($entity->getStructure() != NULL && in_array($entity->getStructure()->getId(), $ids)) { return false; } else { if ($structure = $entity->getStructure()) { Loading Loading
module/Agrement/src/Assertion/AgrementAssertion.php +2 −2 Changes for module/Agrement/src/Assertion/AgrementAssertion.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -227,7 +227,7 @@ class AgrementAssertion extends AbstractAssertion $structureContractualise = $tblContrat->getStructureContractualise($entity->getIntervenant()); $ids = array_column($structureContractualise, 'id'); if (in_array($entity->getStructure()->getId(), $ids)) { if ($entity->getStructure() != NULL && in_array($entity->getStructure()->getId(), $ids)) { return false; } else { if ($structure = $entity->getStructure()) { Loading @@ -251,7 +251,7 @@ class AgrementAssertion extends AbstractAssertion $structureContractualise = $tblContrat->getStructureContractualise($entity->getIntervenant()); $ids = array_column($structureContractualise, 'id'); if (in_array($entity->getStructure()->getId(), $ids)) { if ($entity->getStructure() != NULL && in_array($entity->getStructure()->getId(), $ids)) { return false; } else { if ($structure = $entity->getStructure()) { Loading