From 3daefb29290d3c2e4bd71276220f8e65cfdae324 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 15 Oct 2024 11:27:38 +0200 Subject: [PATCH] FIX Show twice the technical ID --- htdocs/core/tpl/commonfields_view.tpl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/tpl/commonfields_view.tpl.php b/htdocs/core/tpl/commonfields_view.tpl.php index a988d842c2b..edd28d97d57 100644 --- a/htdocs/core/tpl/commonfields_view.tpl.php +++ b/htdocs/core/tpl/commonfields_view.tpl.php @@ -51,8 +51,8 @@ foreach ($object->fields as $key => $val) { continue; // We don't want this field } - if (in_array($key, array('ref', 'status'))) { - continue; // Ref and status are already in dol_banner + if (in_array($key, array('rowid', 'ref', 'status'))) { + continue; // rowid, ref and status are already in dol_banner } $value = $object->$key;