Commit 5158538b authored by Anatole Rakotoson's avatar Anatole Rakotoson

sommom

parent 78558d67
......@@ -20,8 +20,6 @@
}
}
var_dump($el);
if (isset($el["_id"])) {
$communityLinks = Element::getCommunityByTypeAndId( $el["collection"], (string)$el["_id"]);
......@@ -36,10 +34,8 @@
$isAdm = true;
}else{
if(isset($memberValue["roles"])){
foreach ($memberValue["roles"] as $rolesId => $rolesValue) {
if($rolesValue == "Partenaire"){
$partenaire = true;
}
if(in_array("Partenaire", $memberValue["roles"])){
$partenaire = true;
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment