From 9f7f263f791abd0c460519e52d6fd363aa7f7c32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Wed, 2 Oct 2019 21:49:36 +0200 Subject: [PATCH] fix broken search --- htdocs/core/lib/company.lib.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/core/lib/company.lib.php b/htdocs/core/lib/company.lib.php index 084c543a8c2..0018a5b6b76 100644 --- a/htdocs/core/lib/company.lib.php +++ b/htdocs/core/lib/company.lib.php @@ -1047,9 +1047,8 @@ function show_contacts($conf, $langs, $db, $object, $backtopage = '') print ''; if (in_array($key, array('statut'))){ print $form->selectarray('search_status', array('-1'=>'','0'=>$contactstatic->LibStatut(0, 1),'1'=>$contactstatic->LibStatut(1, 1)), $search_status); - }else{ - $fieldName = substr($key, 2); - print sprintf('', $fieldName, dol_escape_htmltag($search[$key])); + } else { + print ''; } print ''; }