hovercard: output template as clean text

This commit is contained in:
rabuzarus 2016-05-10 00:31:57 +02:00
parent e6e44e02e0
commit 2b40687e36
1 changed files with 2 additions and 1 deletions

View File

@ -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