From e82546b5d3064f215fdb6f51f69ca9fd4af663d8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 26 Feb 2008 00:39:29 +0000 Subject: [PATCH] Fix: Button close service disappeared --- htdocs/contrat/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php index ef858c1db26..4b3d2394470 100644 --- a/htdocs/contrat/fiche.php +++ b/htdocs/contrat/fiche.php @@ -1189,7 +1189,7 @@ else } $numclos=$contrat->array_detail(5); // Tableau des lignes au statut clos - if ($contrat->statut == 1 && $num == sizeof($numclos)) + if ($contrat->statut == 1 && $nbofservices == sizeof($numclos)) { print ''.$langs->trans("Close").''; }