From 8a9884ec96ca42a4f001087d56dc2938fc682f6b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 31 Mar 2003 17:34:38 +0000 Subject: [PATCH] had to redo it as it breaks other stuff --- phpgwapi/inc/class.Template.inc.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/phpgwapi/inc/class.Template.inc.php b/phpgwapi/inc/class.Template.inc.php index 58eace9112..53fa40f7d3 100644 --- a/phpgwapi/inc/class.Template.inc.php +++ b/phpgwapi/inc/class.Template.inc.php @@ -139,13 +139,10 @@ $this->set_var($name, $m[1][0]); // ralfbecker: readded for compatibility with old way to set blocks $this->set_var($parent,preg_replace($reg,'{'.$name.'}',$str)); - -/* this is not compatible with the way 0.9.14 handles templates if ($name != $handle) { $this->set_var($handle, $m[1][0]); - } -*/ + } } /* public: set_var(array $values)