Merge branch 'ent-6411-modulos-con-caracteres-extraños-se-duplican' into 'develop'

Ent 6411 modulos con caracteres extraños se duplican

See merge request artica/pandorafms!3586
This commit is contained in:
Daniel Rodriguez 2020-11-20 13:24:22 +01:00
commit 16ada0c567
1 changed files with 7 additions and 0 deletions

View File

@ -116,6 +116,13 @@ function io_safe_input($value)
// TICKET: 1223
$valueHtmlEncode = str_replace('°', '°', $valueHtmlEncode);
// Fixed the ¿ charater.
$valueHtmlEncode = str_replace('¿', '¿', $valueHtmlEncode);
// Fixed the ¡ charater.
$valueHtmlEncode = str_replace('¡', '¡', $valueHtmlEncode);
// Fixed the € charater.
$valueHtmlEncode = str_replace('€', '€', $valueHtmlEncode);
// Replace some characteres for html entities
for ($i = 0; $i < 33; $i++) {
$valueHtmlEncode = str_ireplace(