Skip to content

Commit

Permalink
Fix free text truncate on add
Browse files Browse the repository at this point in the history
  • Loading branch information
John committed Mar 16, 2018
1 parent 35bb0b9 commit ee95415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class/subtotal.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
}
Expand Down

0 comments on commit ee95415

Please sign in to comment.