Skip to content
Snippets Groups Projects
Commit 8bf4a01b authored by Regis Houssin's avatar Regis Houssin
Browse files

bugfix

parent dcb7cb6a
No related branches found
No related tags found
No related merge requests found
...@@ -1291,7 +1291,7 @@ else ...@@ -1291,7 +1291,7 @@ else
/* /*
* Ajouter une ligne * 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 '<tr class="liste_titre">'; print '<tr class="liste_titre">';
print '<td>'.$langs->trans('Description').'</td>'; print '<td>'.$langs->trans('Description').'</td>';
...@@ -1357,7 +1357,7 @@ else ...@@ -1357,7 +1357,7 @@ else
/* /*
* Boutons actions * 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 '<div class="tabsAction">'; print '<div class="tabsAction">';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment