fixed sandbox mode when used with inheritance (closes #656)
authorFabien Potencier <fabien.potencier@gmail.com>
Sat, 17 Mar 2012 12:51:26 +0000 (13:51 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Sat, 17 Mar 2012 16:11:40 +0000 (17:11 +0100)
commit50e73b20cb2cf21c06042cdb4ccd7393b8808385
treec3177fdffc6a0a846c8e72ff8fc4ed875ea6131f
parentc0a9c8bb3e5d13d88fee6bfc2c39045700c55ea5
fixed sandbox mode when used with inheritance (closes #656)

The checkSecurity() method must be called by each template as we are not
using inheritance.
CHANGELOG
lib/Twig/Node/SandboxedModule.php
test/Twig/Tests/Extension/SandboxTest.php
test/Twig/Tests/Node/SandboxedModuleTest.php