diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index e514ba20f86..5051b6cc0c7 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -1291,7 +1291,7 @@ else /* * Ajouter une ligne */ - if ($commande->statut == 0 && $user->rights->commande->creer && ($_GET['action'] == '' || $_GET['action'] == 'builddoc' || $_GET['action'] == 'modif')) + if ($commande->statut == 0 && $user->rights->commande->creer && $_GET["action"] <> 'editline') { print '