diff --git a/lib/templating/templating.inc.php b/lib/templating/templating.inc.php index a98e77a..6512be0 100644 --- a/lib/templating/templating.inc.php +++ b/lib/templating/templating.inc.php @@ -94,7 +94,8 @@ class KTTemplating { return PEAR::raiseError("Could not find template language"); } - return new $sClass($sTemplatePath); + $oTemplate =& new $sClass($sTemplatePath); + return $oTemplate; } // }}}