diff --git a/dev/fpdf/makefont/makefont.php b/dev/fpdf/makefont/makefont.php index 9fa11878a8a..07b530da5b0 100644 --- a/dev/fpdf/makefont/makefont.php +++ b/dev/fpdf/makefont/makefont.php @@ -232,7 +232,7 @@ function SaveToFile($file,$s,$mode='t') $f=fopen($file,'w'.$mode); if(!$f) die('Can\'t write to file '.$file); - fwrite($f,$s,dol_strlen($s)); + fwrite($f,$s,strlen($s)); fclose($f); }