From 65e5163f62bcd70652e493cd1a7b1dc06ea298b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 9 Jan 2024 15:00:29 +0100 Subject: [PATCH] do not cumulate trunc and overflowmax --- htdocs/product/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product/index.php b/htdocs/product/index.php index 5de07fc509c..4ad3d19544f 100644 --- a/htdocs/product/index.php +++ b/htdocs/product/index.php @@ -5,7 +5,7 @@ * Copyright (C) 2014-2016 Charlie BENKE * Copyright (C) 2015 Jean-François Ferry * Copyright (C) 2019 Pierre Ardoin - * Copyright (C) 2019-2021 Frédéric France + * Copyright (C) 2019-2024 Frédéric France * Copyright (C) 2019 Nicolas ZABOURI * * This program is free software; you can redistribute it and/or modify @@ -365,7 +365,7 @@ if ((isModEnabled("product") || isModEnabled("service")) && ($user->hasRight("pr print ''; print ''; - print $product_static->getNomUrl(1, '', 16); + print $product_static->getNomUrl(1); print "\n"; print ''.dol_escape_htmltag($objp->label).''; print 'jdate($objp->datem), 'dayhour', 'tzuserrel')).'">';