forked from Wavyzz/dolibarr
Fix: utf must be default value.
This commit is contained in:
@@ -1788,6 +1788,8 @@ function dol_trunc($string,$size=40,$trunc='right',$stringencoding='UTF-8',$nodo
|
||||
{
|
||||
global $conf;
|
||||
|
||||
if (empty($stringencoding)) $stringencoding='UTF-8';
|
||||
|
||||
if ($size==0 || ! empty($conf->global->MAIN_DISABLE_TRUNC)) return $string;
|
||||
|
||||
// We go always here
|
||||
|
||||
Reference in New Issue
Block a user