bug in _compile_compiler_tag

From: Date: Tue, 02 Oct 2001 09:12:13 +0000
Subject: bug in _compile_compiler_tag
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1594@lists.php.net to get a copy of this message
Hi Andrei/Monte, there's a small bug in the _compile_compiler_tag function. The last line of the file reads: return '<?php' . $function($tag_args, $this) . ' ?>'; There should be a space at the end of <?php. Now the output of the custom compiler function must start with " " or "\n", or you'll get a parser error in the compiled template. Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

« previous php.smarty.general (#1594) next »