From 09907cd37d4776c167dbf6cdf66bccb411bf46d1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 9 Jul 2026 23:06:32 +0200 Subject: [PATCH] Debug v24 --- htdocs/core/class/html.form.class.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 56d0a3d69e7..3b84c438822 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -1451,7 +1451,15 @@ class Form $htmltoenteralink .= ''; } $htmltoenteralink .= ''; - $htmltoenteralink .= ''; + $htmltoenteralink .= ''; + if (!$alreadylinked) { + $htmltoenteralink .= ''; + } + $htmltoenteralink .= ''; $htmltoenteralink .= '' . (!empty($objp->ref_client) ? $objp->ref_client : (!empty($objp->ref_supplier) ? $objp->ref_supplier : '')) . ''; $htmltoenteralink .= ''; if ($possiblelink['label'] == 'LinkToContract') {