Index: branches/unlabeled/unlabeled-1.24.2/core/kernel/parser/template_parser.php =================================================================== diff -u -r5731 -r5744 --- branches/unlabeled/unlabeled-1.24.2/core/kernel/parser/template_parser.php (.../template_parser.php) (revision 5731) +++ branches/unlabeled/unlabeled-1.24.2/core/kernel/parser/template_parser.php (.../template_parser.php) (revision 5744) @@ -171,14 +171,11 @@ } } - $this->CompiledBuffer .= 'if (!function_exists(\''.$real_name.'\')) {'."\n"; - - $this->CompiledBuffer .= "\t".'$application->PreParsedBlocks[\''.$f_name.'\'] = \''.$real_name.'\';'; - $this->CompiledBuffer .= "\n\t".'function '.$real_name.'($params)'."\n\t{\n"; - $this->CompiledBuffer .= $f_body; - $this->CompiledBuffer .= "\t}\n\n"; - + $this->CompiledBuffer .= 'if (!function_exists(\''.$real_name.'\')) {'."\n"; + $this->CompiledBuffer .= "\n\t".'function '.$real_name.'($params)'."\n\t{\n"; + $this->CompiledBuffer .= $f_body; + $this->CompiledBuffer .= "\t}\n\n"; $this->CompiledBuffer .= '}'."\n"; $this->Application->CompiledFunctions[$f_name] = $real_name;