From 8081a6e136586ee92581e792d0d3929f635e3881 Mon Sep 17 00:00:00 2001
From: Regis Houssin <regis@dolibarr.fr>
Date: Sat, 27 May 2006 11:26:37 +0000
Subject: [PATCH] bugfix

---
 htdocs/commande/fiche.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php
index 5051b6cc0c7..1d120f016f0 100644
--- a/htdocs/commande/fiche.php
+++ b/htdocs/commande/fiche.php
@@ -1098,7 +1098,7 @@ else
 						print '<td align="right">'.price($objp->subprice*$objp->qty*(100-$objp->remise_percent)/100).'</td>';
 
 						// Icone d'edition et suppression
-						if ($commande->statut == 0  && $user->rights->commande->creer && $_GET['action'] == '' || $_GET['action'] == 'modif')
+						if ($commande->statut == 0  && $user->rights->commande->creer)
 						{
 							print '<td align="right"><a href="fiche.php?id='.$id.'&amp;action=editline&amp;rowid='.$objp->rowid.'">';
 							print img_edit();
-- 
GitLab