mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 01:23:41 +00:00
membersince: fix utf-8 encoding issues
This commit is contained in:
parent
9faa56702a
commit
a307bf472e
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ function membersince_display(&$a, &$b)
|
||||||
if (current_theme() == 'frio') {
|
if (current_theme() == 'frio') {
|
||||||
// Works in Frio.
|
// Works in Frio.
|
||||||
$doc = new DOMDocument();
|
$doc = new DOMDocument();
|
||||||
$doc->loadHTML($b);
|
$doc->loadHTML(mb_convert_encoding($b, 'HTML-ENTITIES', 'UTF-8'));
|
||||||
|
|
||||||
$elm = $doc->getElementById('aprofile-fullname');
|
$elm = $doc->getElementById('aprofile-fullname');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue