From 1735229f15d9e1b7c5feef45f4d7d52007390da5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 2 Oct 2018 20:47:40 +0200 Subject: [PATCH] remove useless param /** * Return label of a status * * @param int $statut Id statut * @param int $mode 0=Long label, 1=Short label, 2=Picto + Short label, 3=Picto, 4=Picto + Long label, 5=Short label + Picto * @param int $billed 1=Billed * @return string Label of status */ function LibStatut($statut,$mode=0,$billed=0) { --- htdocs/fourn/commande/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/commande/list.php b/htdocs/fourn/commande/list.php index 823e7261fc8..06857526731 100644 --- a/htdocs/fourn/commande/list.php +++ b/htdocs/fourn/commande/list.php @@ -1128,7 +1128,7 @@ if ($resql) // Status if (! empty($arrayfields['cf.fk_statut']['checked'])) { - print ''.$objectstatic->LibStatut($obj->fk_statut, 5, $obj->billed, 1).''; + print ''.$objectstatic->LibStatut($obj->fk_statut, 5, $obj->billed).''; if (! $i) $totalarray['nbfield']++; } // Billed