From bc8a221a53970ff9835c7428ebb765e85320a08f Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 26 Nov 2004 14:57:59 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20suppression=20impossible=20quand=20un?= =?UTF-8?q?=20service=20est=20activ=E9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/contrat/fiche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php index ea8f887cb66..deeed17cc27 100644 --- a/htdocs/contrat/fiche.php +++ b/htdocs/contrat/fiche.php @@ -551,7 +551,7 @@ else print ' '; } print ''.price($objp->subprice)."\n"; - if ($contrat->statut == 0 && $user->rights->contrat->creer) + if ($contrat->statut == 0 && $objp->statut == 0 && $user->rights->contrat->creer) { print ''; print img_edit(); @@ -562,7 +562,7 @@ else } else { - print '  '; + print ' '; } print "\n";