membersince: fix utf-8 encoding issues #520

Merged
rabuzarus merged 1 commit from 20180206_-_membersince_frio_support into develop 2018-02-07 17:06:00 +01:00

View file

@ -26,7 +26,7 @@ function membersince_display(&$a, &$b)
if (current_theme() == 'frio') {
// Works in Frio.
$doc = new DOMDocument();
$doc->loadHTML($b);
$doc->loadHTML(mb_convert_encoding($b, 'HTML-ENTITIES', 'UTF-8'));
$elm = $doc->getElementById('aprofile-fullname');