Display logic updated
This commit is contained in:
parent
633c255598
commit
c75eda74a3
|
|
@ -52,6 +52,9 @@ class OrganizationController extends AbstractController
|
||||||
$organizations[] = $uo->getOrganization();
|
$organizations[] = $uo->getOrganization();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(count($organizations) === 1 && $organizations[0]->isActive() === true){
|
||||||
|
return $this->redirectToRoute('organization_show', ['id' => $organizations[0]->getId()]);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue