Commit fe480ca5 authored by Tibor Katelbach's avatar Tibor Katelbach

Merge branch 'anatole' into 'master'

sommom correction bug

See merge request !6
parents 21136dc5 ee0f50fc
......@@ -20,9 +20,14 @@
}
}
$communityLinks = Element::getByTypeAndId($this->costum["contextType"],$this->costum["contextId"]);
if (isset($this->costum["contextType"]) and isset($this->costum["contextId"])) {
$communityLinks = Element::getByTypeAndId($this->costum["contextType"],$this->costum["contextId"]);
}
$partenaire = false;
if (isset($communityLinks["links"]["members"])) {
foreach ($communityLinks["links"]["members"] as $memberId => $memberValue) {
if(isset(Yii::app()->session["userId"])){
if($memberId != ""){
......@@ -38,6 +43,7 @@
}
}
}
}
$adminStatus = false;
if (isset($this->costum["admins"])) {
......
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