Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0

This commit is contained in:
Laurent Destailleur 2022-05-10 16:04:38 +02:00
commit 8fe5dea6e8

View File

@ -892,7 +892,7 @@ class FormFile
} }
$out .= '>'; $out .= '>';
$out .= img_mime($file["name"], $langs->trans("File").': '.$file["name"]); $out .= img_mime($file["name"], $langs->trans("File").': '.$file["name"]);
$out .= dol_trunc($file["name"], 150); $out .= dol_trunc($file["name"], 40);
$out .= '</a>'."\n"; $out .= '</a>'."\n";
$out .= $this->showPreview($file, $modulepart, $relativepath, 0, $param); $out .= $this->showPreview($file, $modulepart, $relativepath, 0, $param);
$out .= '</td>'; $out .= '</td>';