diff --git a/accred_form.php b/accred_form.php index a45945dd..bfb91058 100644 --- a/accred_form.php +++ b/accred_form.php @@ -179,8 +179,10 @@ die(); $ti = 'Commande par '.$_SESSION['name'] . ', créée le '.$row['created']; $forWho = $ar['demande_pour']; } - $form->add('label','label_demande_pour','','Demande au nom de'); - $form->add('text', 'demande_pour', $forWho); + if($isAdmin) { + $form->add('label','label_demande_pour','','Demandeur'); + $form->add('text', 'demande_pour', $forWho); + } $form->add('label', 'label_titre','',$ti); $form->add('label', 'label_salutation', 'salutation', 'Salutation:'); $obj = $form->add('select', 'salutation', $ar['salutation']);