From 42e0c5afa00ca7d50f341b718a8624dfbf7157b4 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sun, 4 Feb 2024 11:45:56 +0100 Subject: [PATCH] =?UTF-8?q?FOLLOWUP=20:=20nom=20contact=20pas=20affich?= =?UTF-8?q?=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/class/follow_up.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/class/follow_up.class.php b/include/class/follow_up.class.php index f39b3c218..ecdfeb88f 100644 --- a/include/class/follow_up.class.php +++ b/include/class/follow_up.class.php @@ -400,8 +400,8 @@ class Follow_Up $spcontact=new ISpan(); $spcontact->name='ag_contact_label'; $spcontact->value=''; - $fiche_contact=new Fiche($this->db); - $fiche_contact->get_by_qcode($this->ag_contact); + $fiche_contact=new Fiche($this->db,$this->ag_contact); + if ($fiche_contact->id!=0) { $spcontact->value=strtoupper($fiche_contact->strAttribut(ATTR_DEF_NAME)??"");