Update html.form.class.php
This commit is contained in:
parent
66f634f217
commit
9f1ec0e710
@ -1720,11 +1720,11 @@ class Form
|
||||
else if ($objp->stock <= 0) $opt.= ' class="product_line_stock_too_low"';
|
||||
}
|
||||
$opt.= '>';
|
||||
$opt.= $objp->ref.' - '.dol_trunc($label, 99).' - ';
|
||||
$opt.= $objp->ref.' - '.dol_trunc($label, 99, '', '', 1).' - ';
|
||||
|
||||
$objRef = $objp->ref;
|
||||
if (! empty($filterkey) && $filterkey != '') $objRef=preg_replace('/('.preg_quote($filterkey).')/i','<strong>$1</strong>',$objRef,1);
|
||||
$outval.=$objRef.' - '.dol_trunc($label, 99).' - ';
|
||||
$outval.=$objRef.' - '.dol_trunc($label, 99, '', '', 1).' - ';
|
||||
|
||||
$found=0;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user