diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php
index b9fb99830cc..0d1dc33b997 100644
--- a/htdocs/fourn/facture/fiche.php
+++ b/htdocs/fourn/facture/fiche.php
@@ -1283,12 +1283,20 @@ else
//print ''.$langs->trans('ClassifyPaid').'';
}
- if ($_GET['action'] != 'edit' && $fac->statut == 0 && $user->rights->fournisseur->facture->valider)
+ if ($_GET['action'] != 'edit' && $fac->statut == 0)
{
if (sizeof($fac->lignes))
{
- print 'id.'&action=valid"';
- print '>'.$langs->trans('Validate').'';
+ if ($user->rights->fournisseur->facture->valider)
+ {
+ print 'id.'&action=valid"';
+ print '>'.$langs->trans('Validate').'';
+ }
+ else
+ {
+ print ''.$langs->trans('Validate').'';
+ }
}
}