diff --git a/public_html/view/groups.php b/public_html/view/groups.php index 27dc548..353e1ad 100755 --- a/public_html/view/groups.php +++ b/public_html/view/groups.php @@ -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 '';