From 72507bb15a7ff2ba226a4364377fa0d71aa5ea65 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 1 Dec 2015 19:07:45 +0100 Subject: [PATCH] =?UTF-8?q?]=20Modifier=20mod=C3=A8le:=20note=20visible=20?= =?UTF-8?q?par=20=C3=A9tudiant=20quand=20activ=C3=A9e=20(checkbox=20de=20l?= =?UTF-8?q?'admin)=20=09+=20modification=20par=20l'admin=20=09+=20visibili?= =?UTF-8?q?t=C3=A9=20au=20niveau=20de=20l'=C3=A9tudiant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- page/career.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/page/career.php b/page/career.php index eaf291b..ee4f801 100755 --- a/page/career.php +++ b/page/career.php @@ -108,7 +108,7 @@ if( permission('student') ){ // si l'utilisateur est connecté et que c'est un echo ''; echo ''.$controle['libelle'].''; - if( count($controle['notes']) == 0 ) // si aucune note pour ce controle on affiche 'Pas de note' + if( $controle['publication'] == '0' || count($controle['notes']) == 0 ) // si aucune note pour ce controle on affiche 'Pas de note' echo 'Pas de note'; else // si une note, alors on l'affiche echo ''.number_format($controle['notes'][0]['valeur'], 2).' / '.$controle['base'].'';