From f8dd1a7fc73a9a6e22f6421e755424c5aded371f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 9 Feb 2021 22:00:54 +0100 Subject: [PATCH] Update list.php --- htdocs/projet/list.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php index b8ab088cf85..b6fee6adf7a 100644 --- a/htdocs/projet/list.php +++ b/htdocs/projet/list.php @@ -563,11 +563,10 @@ if (!empty($arrayfields['p.title']['checked'])) if (!empty($arrayfields['s.nom']['checked'])) { print ''; - if ($socid > 0) - { + if ($socid > 0) { $tmpthirdparty = new Societe($db); $tmpthirdparty->fetch($socid); - $search_societe = $tmpthirdparty->nom; + $search_societe = $tmpthirdparty->name; } print ''; print '';