Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 874)
+++ trunk/CHANGELOG	(revision 875)
@@ -12,6 +12,7 @@
 
 ------------------------------------- 2.7.1 -------------------------------------
 06-Nov-2008 Thomas Hornik
+#	Module code: curly backets get deleted by pparse() from phplib -> old fix in #569 wasn't that smart. Fixed.
 #	fixed some typos in DE language-file, added missing tab in search.php
 02-Nov-2008 Thomas Hornik
 !	news: added PAGE_SPACER to $page_title (creates e.g. title-32.php instead of title32.php)
Index: trunk/wb/include/phplib/template.inc
===================================================================
--- trunk/wb/include/phplib/template.inc	(revision 874)
+++ trunk/wb/include/phplib/template.inc	(revision 875)
@@ -653,19 +653,12 @@
   * @return    false
   * @see       parse
   */
-  function pparse($target, $varname, $append = false, $clear = true) { // added $clear: whether to delete undefined vars or not (needed for wb-module code) - thorn
+  function pparse($target, $varname, $append = false) {
     if ($this->debug & 4) {
       echo "<p><b>pparse:</b> passing parameters to parse...</p>\n";
     }
-		if(!$clear) {
-			$unknowns = $this->unknowns;
-			$this->set_unknowns('keep');
-			print $this->finish($this->parse($target, $varname, $append));
-			$this->set_unknowns($unknowns);
-		} else {
-			print $this->finish($this->parse($target, $varname, $append));
-		}
-		return false;
+    print $this->finish($this->parse($target, $varname, $append));
+    return false;
   }
 
 
Index: trunk/wb/modules/code/modify.php
===================================================================
--- trunk/wb/modules/code/modify.php	(revision 874)
+++ trunk/wb/modules/code/modify.php	(revision 875)
@@ -46,7 +46,8 @@
 						);
 
 // Parse template object
+$template->set_unknowns('keep');
 $template->parse('main', 'main_block', false);
-$template->pparse('output', 'page', false, false);
+$template->pparse('output', 'page', false);
 
 ?>
\ No newline at end of file
