X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcommon.php;h=1c4032f11f411e49fbe0d6e81a8598cad21b827d;hb=034d0f650b9b239965e29657502c9e64bb25b96a;hp=c88d6ee77c2594aa57ed1707b30fc26160652a06;hpb=3a9db3f6373330902a5efe42eb8790c240fba580;p=friendica.git diff --git a/mod/common.php b/mod/common.php index c88d6ee77c..1c4032f11f 100644 --- a/mod/common.php +++ b/mod/common.php @@ -14,8 +14,6 @@ use Friendica\Module; use Friendica\Util\Proxy as ProxyUtils; use Friendica\Util\Strings; -require_once 'include/dba.php'; - function common_content(App $a) { $o = ''; @@ -50,7 +48,7 @@ function common_content(App $a) if (DBA::isResult($contact)) { $vcard_widget = Renderer::replaceMacros(Renderer::getMarkupTemplate("vcard-widget.tpl"), [ - '$name' => htmlentities($contact['name']), + '$name' => $contact['name'], '$photo' => $contact['photo'], 'url' => 'contact/' . $cid ]); @@ -123,7 +121,7 @@ function common_content(App $a) 'itemurl' => defaults($contact_details, 'addr', $common_friend['url']), 'name' => $contact_details['name'], 'thumb' => ProxyUtils::proxifyUrl($contact_details['thumb'], false, ProxyUtils::SIZE_THUMB), - 'img_hover' => htmlentities($contact_details['name']), + 'img_hover' => $contact_details['name'], 'details' => $contact_details['location'], 'tags' => $contact_details['keywords'], 'about' => $contact_details['about'],