From 8f52e2ca3ca4682ddf3e10d57706f62ec201de63 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 11 May 2013 09:25:32 +0000 Subject: [PATCH] fixed fatal error in soetemplate called by editor, if etemplate is switched to etemplate_new --- etemplate/inc/class.soetemplate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.soetemplate.inc.php b/etemplate/inc/class.soetemplate.inc.php index e970fb2294..1023a77997 100644 --- a/etemplate/inc/class.soetemplate.inc.php +++ b/etemplate/inc/class.soetemplate.inc.php @@ -1232,7 +1232,7 @@ class soetemplate case 'template': if (!isset($widget['obj']) && $widget['name'][0] != '@') { - $widget['obj'] = new etemplate; + $widget['obj'] = new etemplate_old; if (!$widget['obj']->read($widget['name'])) $widget['obj'] = false; } if (!is_object($widget['obj'])) break; // cant descent into template