From 8bf4a01bec90a42b164b40b087e33c867a1d393c Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 27 May 2006 11:24:30 +0000 Subject: [PATCH] bugfix --- htdocs/commande/fiche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ''; print ''.$langs->trans('Description').''; @@ -1357,7 +1357,7 @@ else /* * Boutons actions */ - if ($user->societe_id == 0 && $commande->statut < 3 && ($_GET['action'] == '' || $_GET['action'] == 'builddoc' || $_GET['action'] == 'modif')) + if ($user->societe_id == 0 && $commande->statut < 3) { print '
';