From ee95415ff49489dbcafcb953f91e6625700d087d Mon Sep 17 00:00:00 2001 From: John Date: Fri, 16 Mar 2018 09:33:08 +0100 Subject: [PATCH] Fix free text truncate on add --- class/subtotal.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/subtotal.class.php b/class/subtotal.class.php index 04dc7570..373d84f1 100644 --- a/class/subtotal.class.php +++ b/class/subtotal.class.php @@ -25,7 +25,7 @@ static function addSubTotalLine(&$object, $label, $qty, $rang=-1) { } else { $desc = ''; - if ((float) DOL_VERSION < 6) { + if ((float) DOL_VERSION < 6 || $qty==50) { $desc = $label; $label = ''; }