From: rabuzarus <> Date: Mon, 9 May 2016 22:31:57 +0000 (+0200) Subject: hovercard: output template as clean text X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2b40687e36a69ebdfa4f5117da7858e9789bfccd;p=friendica-addons.git hovercard: output template as clean text --- diff --git a/frio_hovercard.php b/frio_hovercard.php index ef1175ae..5daf0428 100644 --- a/frio_hovercard.php +++ b/frio_hovercard.php @@ -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