From 2b40687e36a69ebdfa4f5117da7858e9789bfccd Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Tue, 10 May 2016 00:31:57 +0200 Subject: [PATCH] hovercard: output template as clean text --- frio_hovercard.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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