From 78558d67e63ef103860de35d80f04895b8ece09f Mon Sep 17 00:00:00 2001 From: Anatole Date: Thu, 8 Oct 2020 10:51:10 +0300 Subject: [PATCH] bug key sommom --- views/tpls/forms/sommom/organisme.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/views/tpls/forms/sommom/organisme.php b/views/tpls/forms/sommom/organisme.php index 97df855..bcb24d0 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; -- GitLab