]> git.mxchange.org Git - friendica-addons.git/blobdiff - frio_hovercard.php
hovercard: output template as clean text
[friendica-addons.git] / frio_hovercard.php
index ef1175ae5ee416d2c47963c07f8489291fed981c..5daf04289e88d93c197636be26d5ff524b06e93f 100644 (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