From e00046c2b65b750b2ee4993dd48bba3df03de5fb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 25 Oct 2023 23:13:26 +0200 Subject: [PATCH] FIX Link to list of movement from the inventory code --- htdocs/product/stock/movement_list.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product/stock/movement_list.php b/htdocs/product/stock/movement_list.php index 06c283eef59..c0e37902b6c 100644 --- a/htdocs/product/stock/movement_list.php +++ b/htdocs/product/stock/movement_list.php @@ -1481,11 +1481,11 @@ while ($i < $imaxinloop) { } if (!empty($arrayfields['m.inventorycode']['checked'])) { // Inventory code - print 'inventorycode.'$').'&search_type_mouvement='.urlencode($obj->type_mouvement).'">'.$obj->inventorycode.''; + print 'inventorycode.'$').'">'.dol_escape_htmltag($obj->inventorycode).''; } if (!empty($arrayfields['m.label']['checked'])) { // Label of movement - print ''.$obj->label.''; + print ''.dol_escape_htmltag($obj->label).''; } if (!empty($arrayfields['origin']['checked'])) { // Origin of movement