diff --git a/htdocs/comm/propal/list.php b/htdocs/comm/propal/list.php index 003c1c8419d..e287ebc0863 100644 --- a/htdocs/comm/propal/list.php +++ b/htdocs/comm/propal/list.php @@ -312,7 +312,7 @@ if ($result) print ''; print ''; - if ($objp->fk_statut == 1 && $objp->dfv < ($now - $conf->propal->cloture->warning_delay)) print img_warning($langs->trans("Late")); + if ($objp->fk_statut == 1 && $db->jdate($objp->dfv) < ($now - $conf->propal->cloture->warning_delay)) print img_warning($langs->trans("Late")); print ''; print '';