Skip to content

Commit

Permalink
fix phpstan (#32063)
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic34 authored Nov 22, 2024
1 parent 1f386fb commit 2b264ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/takepos/invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -1984,7 +1984,7 @@ function SetNote() {
if ($line->product_label && $line->desc) {
$htmlforlines .= '<br>';
}
$firstline = dolGetFirstLineOfText($line->desc, getDolGlobalString('TAKEPOS_SHOW_N_FIRST_LINES'));
$firstline = dolGetFirstLineOfText($line->desc, getDolGlobalInt('TAKEPOS_SHOW_N_FIRST_LINES'));
if ($firstline != $line->desc) {
$htmlforlines .= $form->textwithpicto(dolGetFirstLineOfText($line->desc), $line->desc);
} else {
Expand Down

0 comments on commit 2b264ae

Please sign in to comment.