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";