ranlt / smarty-php

Automatically exported from code.google.com/p/smarty-php
0 stars 0 forks source link

Compile ID gets nulled when compiling child blocks #134

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In Smarty_Internal_Compile_Block::compileChildBlock() the creation of a new 
Smarty_Internal_template appears to unintentionally set 
$compiler->template->compile_id to null, causing the loss of the compile_id.

Patch against Smarty 3.1.13 to fix this attached.

Original issue reported on code.google.com by j...@moo.com on 27 Feb 2013 at 10:56

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for your input.

The fix is now in the SVN trunk and will later be included in 3.1.14.

Original comment by Uwe.Tews@googlemail.com on 28 Feb 2013 at 7:29