From a066b4b7c19f374fc1cbc89176326f1b1566c927 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 7 Nov 2017 11:31:56 +0100 Subject: [PATCH] minmod --- public_html/view/groups.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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 '';