]> git.mxchange.org Git - friendica.git/blobdiff - include/api.php
wrong author came from feed, not from FB
[friendica.git] / include / api.php
index 0753962ab983621a0db8985afff378e50807dc03..84cb7b38f623e70e9a7f6a6f8273d230ddbc5965 100644 (file)
                        case "atom":
                        case "xml":
                                $data = api_xmlify($data);
-                               $tpl = file_get_contents("view/api_".$templatename."_".$type.".tpl");
+                               $tpl = get_markup_template("api_".$templatename."_".$type.".tpl");
                                $ret = replace_macros($tpl, $data);
                                break;
                        case "json":