From cf712df2138ac9b39994f980dc70844b71b43d66 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 5 Jan 2026 17:04:59 +0100 Subject: [PATCH] Fix warning --- htdocs/fourn/commande/tpl/linkedobjectblock.tpl.php | 1 + htdocs/ticket/tpl/linkedobjectblock.tpl.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/fourn/commande/tpl/linkedobjectblock.tpl.php b/htdocs/fourn/commande/tpl/linkedobjectblock.tpl.php index e4486d8c66f..51a906560b7 100644 --- a/htdocs/fourn/commande/tpl/linkedobjectblock.tpl.php +++ b/htdocs/fourn/commande/tpl/linkedobjectblock.tpl.php @@ -35,6 +35,7 @@ * @var int $showImportButton * @var CommandeFournisseur[] $linkedObjectBlock */ +'@phan-var-force CommandeFournisseur[] $linkedObjectBlock'; // Protection to avoid direct call of template if (empty($conf) || !is_object($conf)) { diff --git a/htdocs/ticket/tpl/linkedobjectblock.tpl.php b/htdocs/ticket/tpl/linkedobjectblock.tpl.php index 175cb1d01c2..8e4efc7db6e 100644 --- a/htdocs/ticket/tpl/linkedobjectblock.tpl.php +++ b/htdocs/ticket/tpl/linkedobjectblock.tpl.php @@ -63,7 +63,7 @@ foreach ($linkedObjectBlock as $key => $objectlink) { trans("Ticket"); ?> getNomUrl(1); ?> - ref_client); ?> + track_id); ?> datec, 'day'); ?> socid = $objectlink->fk_soc;