From 54a4570b5f9f94bbfa04b4f7daf1141c22444b08 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Sun, 21 Feb 2016 20:57:15 +0100 Subject: [PATCH] FIX #4580 --- htdocs/societe/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/list.php b/htdocs/societe/list.php index 4a9efd40585..087195e2905 100644 --- a/htdocs/societe/list.php +++ b/htdocs/societe/list.php @@ -747,7 +747,7 @@ if ($resql) $arraystcomm=array(); foreach($prospectstatic->cacheprospectstatus as $key => $val) { - $arraystcomm[$val['id']]=$val['label']; + $arraystcomm[$val['id']]=($langs->trans("StatusProspect".$val['id']) != "StatusProspect".$val['id'] ? $langs->trans("StatusProspect".$val['id']) : $val['label']); } print $form->selectarray('search_stcomm', $arraystcomm, $search_stcomm, -2); print '</td>'; -- GitLab