forked from friendica/friendica-addons
hovercard: output template as clean text
This commit is contained in:
parent
e6e44e02e0
commit
2b40687e36
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@ function frio_hovercard_content() {
|
|||
// (We need to discuss possible security lacks before doing this)
|
||||
if ($datatype == "tpl") {
|
||||
$templatecontent = get_template_content("hovercard.tpl", "addon/frio_hovercard/");
|
||||
return $templatecontent;
|
||||
echo $templatecontent;
|
||||
killme();
|
||||
}
|
||||
|
||||
// If a contact is connected the url is internally changed to "redir/CID". We need the pure url to search for
|
||||
|
|
Loading…
Reference in a new issue