diff --git a/views/tpls/forms/sommom/organisme.php b/views/tpls/forms/sommom/organisme.php index 97df855de53288c4aef1a94b547088c6f8c4593d..bcb24d05ead1ce924c9ba829dba8d1f41efcfce1 100644 --- a/views/tpls/forms/sommom/organisme.php +++ b/views/tpls/forms/sommom/organisme.php @@ -20,8 +20,10 @@ } } + var_dump($el); + if (isset($el["_id"])) { - $communityLinks = Element::getCommunityByTypeAndId( Organization::COLLECTION, (string)$el["_id"]); + $communityLinks = Element::getCommunityByTypeAndId( $el["collection"], (string)$el["_id"]); $partenaire = false; $isAdm = false;