Merge branch 'master' into dist/envole/6/master
This commit is contained in:
commit
ec6cf7e062
|
@ -130,14 +130,12 @@ class RestController extends Controller
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if($groupsshared) {
|
foreach($user->getGroups() as $usergroup) {
|
||||||
foreach($groupsshared as $groupshared) {
|
$tmp=[];
|
||||||
$tmp=[];
|
$tmp["id"] = $usergroup->getGroup()->getId();
|
||||||
$tmp["id"] = $groupshared->getId();
|
$tmp["title"] = $usergroup->getGroup()->getLabel();
|
||||||
$tmp["title"] = $groupshared->getLabel();
|
|
||||||
|
|
||||||
array_push($output["groups"],$tmp);
|
array_push($output["groups"],$tmp);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Retour
|
// Retour
|
||||||
|
|
Loading…
Reference in New Issue