From 64309e9e5a65fb6dfa5fd933e087d3130e05ed63 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 31 Mar 2003 16:51:25 +0000 Subject: [PATCH] made it more compatible with the version in 0.9.14 --- phpgwapi/inc/class.Template.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.Template.inc.php b/phpgwapi/inc/class.Template.inc.php index 53fa40f7d3..58eace9112 100644 --- a/phpgwapi/inc/class.Template.inc.php +++ b/phpgwapi/inc/class.Template.inc.php @@ -139,10 +139,13 @@ $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)