Merge branch 'ent-4936-Comillas-dobles-en-comentarios-de-eventos-no-funcionan' into 'develop'

Ent 4936 comillas dobles en comentarios de eventos no funcionan

See merge request artica/pandorafms!2869
This commit is contained in:
Alejandro Fraguas 2019-11-15 13:20:13 +01:00
commit 7e8f22b1de
2 changed files with 2 additions and 2 deletions

View File

@ -4580,7 +4580,7 @@ function events_page_comments($event, $ajax=false)
continue;
}
$comments_array[] = json_decode(io_safe_output($comm), true);
$comments_array[] = io_safe_output(json_decode($comm, true));
}
} else {
// If comments are not stored in json, the format is old.

View File

@ -5744,7 +5744,7 @@ function ui_print_comments($comments)
continue;
}
$comments_array[] = json_decode(io_safe_output($comm), true);
$comments_array[] = io_safe_output(json_decode($comm, true));
}
}