mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Merge pull request #14972 from code-chicken/patch-7
Fix for #14957 and probably a lot of other issues
This commit is contained in:
commit
85a9714d07
|
|
@ -156,6 +156,7 @@ class Odf
|
|||
*/
|
||||
public function convertVarToOdf($value, $encode = true, $charset = 'ISO-8859')
|
||||
{
|
||||
$value = $encode ? htmlspecialchars($value) : $value;
|
||||
$value = ($charset == 'ISO-8859') ? utf8_encode($value) : $value;
|
||||
$convertedValue = $value;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user