This commit is contained in:
xdrm-brackets 2017-11-07 11:31:56 +01:00
parent 550b1bd849
commit a066b4b7c1
1 changed files with 10 additions and 10 deletions

View File

@ -181,20 +181,20 @@
/* (1) Si on a un ID_CLUSTER, on affiche la composition
---------------------------------------------------------*/
if( isset($post[1]) && preg_match('/^(u|m)(\d+)$/', $post[1], $m) ){
if( isset($post[1]) && preg_match('/^(u|m)(\d+)$/', $post[1], $m) ){
$view = View::load('group.member.choice');
echo $view->render([
(int) $m[2], // id_cluster
(int) ($m[1]=='u') ? 0 : 1 // class
]);
$view = View::load('group.member.choice');
echo $view->render([
(int) $m[2], // id_cluster
(int) ($m[1]=='u') ? 0 : 1 // class
]);
}else{
}else{
$view = View::load('group.member.group');
echo $view->render();
$view = View::load('group.member.group');
echo $view->render();
}
}
echo '</section>';