From 09aace0ffe6fcb808fc37ef80d21be04dbe0f24a Mon Sep 17 00:00:00 2001 From: Ian Date: Thu, 29 Dec 2011 11:11:27 +0100 Subject: [PATCH] display back to fetch, as it was --- include/plugin_api.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/plugin_api.inc.php b/include/plugin_api.inc.php index 3f44cf4a..35e9d9a3 100644 --- a/include/plugin_api.inc.php +++ b/include/plugin_api.inc.php @@ -1565,7 +1565,7 @@ class serendipity_plugin * or the default template directory, and return the parsed output. * * @access public - * @param string template filename (no directory!) + * @param string template filename (no directory!) * @return string Parsed Smarty return */ function &parseTemplate($filename) { @@ -1576,7 +1576,7 @@ class serendipity_plugin if (!$tfile || $tfile == $filename) { $tfile = dirname($this->pluginFile) . '/' . $filename; } - $content = $serendipity['smarty']->display('file:'. $tfile); + $content = $serendipity['smarty']->fetch('file:'. $tfile); return $content; }