Fix useless truncation
This commit is contained in:
parent
64374bec00
commit
a3d4340b82
@ -610,23 +610,23 @@ if ($result)
|
|||||||
if (! empty($arrayfields['p.lastname']['checked']))
|
if (! empty($arrayfields['p.lastname']['checked']))
|
||||||
{
|
{
|
||||||
print '<td valign="middle">';
|
print '<td valign="middle">';
|
||||||
print $contactstatic->getNomUrl(1,'',20);
|
print $contactstatic->getNomUrl(1,'',0);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
// Firstname
|
// Firstname
|
||||||
if (! empty($arrayfields['p.firstname']['checked']))
|
if (! empty($arrayfields['p.firstname']['checked']))
|
||||||
{
|
{
|
||||||
print '<td>'.dol_trunc($obj->firstname,20).'</td>';
|
print '<td>'.$obj->firstname.'</td>';
|
||||||
}
|
}
|
||||||
// Zip
|
// Zip
|
||||||
if (! empty($arrayfields['p.zip']['checked']))
|
if (! empty($arrayfields['p.zip']['checked']))
|
||||||
{
|
{
|
||||||
print '<td>'.dol_trunc($obj->zip,20).'</td>';
|
print '<td>'.$obj->zip.'</td>';
|
||||||
}
|
}
|
||||||
// Town
|
// Town
|
||||||
if (! empty($arrayfields['p.town']['checked']))
|
if (! empty($arrayfields['p.town']['checked']))
|
||||||
{
|
{
|
||||||
print '<td>'.dol_trunc($obj->town,20).'</td>';
|
print '<td>'.$obj->town.'</td>';
|
||||||
}
|
}
|
||||||
// Function
|
// Function
|
||||||
if (! empty($arrayfields['p.poste']['checked']))
|
if (! empty($arrayfields['p.poste']['checked']))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user