Skip to content

Commit

Permalink
Merge pull request #107 from ATM-Consulting/2.0_fix_free_text_limit
Browse files Browse the repository at this point in the history
Fix free text truncate on add
  • Loading branch information
Alexis ALGOUD authored Mar 16, 2018
2 parents 35bb0b9 + ee95415 commit 0fad26c
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 0fad26c

Please sign in to comment.