]> git.mxchange.org Git - friendica-addons.git/blobdiff - membersince/membersince.php
Update IT strings
[friendica-addons.git] / membersince / membersince.php
index 8c42c1359b1e036c70c0a740f41b8706c51854a9..982a704da52007cfcdf7af2e8c6ce974a7d4b95f 100644 (file)
@@ -4,7 +4,7 @@
  * Description: Display membership date in profile
  * Version: 1.1
  * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
- *
+ * Status: Unsupported
  */
 
 use Friendica\Core\Addon;
@@ -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');