From b1c312cae36113e4ced2ee54095eee93cfce8adf Mon Sep 17 00:00:00 2001 From: ovclas Date: Tue, 5 Feb 2013 05:26:29 +0000 Subject: [PATCH] change singleton instance git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12700 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/editor.model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/editor/editor.model.php b/modules/editor/editor.model.php index 6b1f71521..920e5f83b 100644 --- a/modules/editor/editor.model.php +++ b/modules/editor/editor.model.php @@ -353,7 +353,7 @@ class editorModel extends editor // load editor skin lang Context::loadLang($tpl_path.'lang'); // Return the compiled result from tpl file - $oTemplate = new TemplateHandler(); + $oTemplate = TemplateHandler::getInstance(); return $oTemplate->compile($tpl_path, $tpl_file); }