From f4880f6a8585cfe50cc8dc245cb9eb614cb0edf4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 9 Dec 2013 02:21:21 +0100 Subject: [PATCH] Fix: checkstyle --- htdocs/commande/liste.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/commande/liste.php b/htdocs/commande/liste.php index 41ec59c4ff5..aaf6b5312ae 100644 --- a/htdocs/commande/liste.php +++ b/htdocs/commande/liste.php @@ -325,8 +325,8 @@ if ($resql) print ''; print ''; - if (($objp->fk_statut > 0) && ($objp->fk_statut < 3) && max($db->jdate($objp->date_valid),$db->jdate($objp->date_livrais -on)) < ($now - $conf->commande->client->warning_delay)) print img_picto($langs->trans("Late"),"warning"); + if (($objp->fk_statut > 0) && ($objp->fk_statut < 3) && max($db->jdate($objp->date_valid),$db->jdate($objp->date_livraison)) < ($now - $conf->commande->client->warning_delay)) + print img_picto($langs->trans("Late"),"warning"); if(!empty($objp->note_private)) { print ' ';