From 1af5652b1a3d112a8f0c244716a46399e20a1fdc Mon Sep 17 00:00:00 2001 From: Anatole Date: Thu, 8 Oct 2020 11:22:35 +0300 Subject: [PATCH] change collection to project --- views/tpls/forms/sommom/organisme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/tpls/forms/sommom/organisme.php b/views/tpls/forms/sommom/organisme.php index 92385ed..1224c33 100644 --- a/views/tpls/forms/sommom/organisme.php +++ b/views/tpls/forms/sommom/organisme.php @@ -21,7 +21,7 @@ } if (isset($el["_id"])) { - $communityLinks = Element::getCommunityByTypeAndId( $el["collection"], (string)$el["_id"]); + $communityLinks = Element::getCommunityByTypeAndId( Project::COLLECTION, (string)$el["_id"]); $partenaire = false; $isAdm = false; -- GitLab