Qual: Truncate too long string
This commit is contained in:
parent
0060695c1b
commit
da43406508
@ -176,7 +176,7 @@ class mailing_kiwi extends MailingTargets
|
|||||||
$type='';
|
$type='';
|
||||||
if ($obj->type == 1) $type=$langs->trans("Supplier");
|
if ($obj->type == 1) $type=$langs->trans("Supplier");
|
||||||
if ($obj->type == 2) $type=$langs->trans("Customer");
|
if ($obj->type == 2) $type=$langs->trans("Customer");
|
||||||
$s.='<option value="'.$obj->rowid.'">'.$obj->label;
|
$s.='<option value="'.$obj->rowid.'">'.dol_trunc($obj->label,48,'middle');
|
||||||
if ($type) $s.=' ('.$type.')';
|
if ($type) $s.=' ('.$type.')';
|
||||||
$s.='</option>';
|
$s.='</option>';
|
||||||
$i++;
|
$i++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user