diff --git a/htdocs/fourn/facture/index.php b/htdocs/fourn/facture/index.php
index 6a3415f02f0..b7235f865e2 100644
--- a/htdocs/fourn/facture/index.php
+++ b/htdocs/fourn/facture/index.php
@@ -255,14 +255,13 @@ if ($resql)
print '
'.dol_trunc($obj->ref_supplier,10)." | ";
print ''.dol_print_date($db->jdate($obj->datef),'day').' | ';
print ''.dol_print_date($db->jdate($obj->date_echeance),'day');
- if (($obj->paye == 0) && ($obj->fk_statut > 0) && $db->jdate($obj->date_echeance) < ($now - $conf->facture->fournisseur->warning_delay)) print img_picto($langs->trans("Late"),"warning");
+ if (($obj->paye == 0) && ($obj->fk_statut > 0) && $obj->date_echeance && $db->jdate($obj->date_echeance) < ($now - $conf->facture->fournisseur->warning_delay)) print img_picto($langs->trans("Late"),"warning");
print ' | ';
print ''.dol_trunc($obj->libelle,36).' | ';
print '';
$supplierstatic->id=$obj->socid;
$supplierstatic->nom=$obj->nom;
print $supplierstatic->getNomUrl(1,'',12);
- //print ''.img_object($langs->trans("ShowSupplier"),"company").' '.$obj->nom.'';
print ' | '.price($obj->total_ht).' | ';
print ''.price($obj->total_ttc).' | ';
$total+=$obj->total_ht;