Commit b52f9022 by seldaek

Fixed a compilation bug when using a PluginProxy with highly nested calls

git-svn-id: http://svn.dwoo.org/trunk@330 0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent b159408a
......@@ -35,6 +35,7 @@
* Fixed a bug when accessing global vars from a sub-template
* Fixed a couple bugs in the {dynamic} plugin with regard to using plugins
within a dynamic block
* Fixed a compilation bug when using a PluginProxy with highly nested calls
* Fixed a {load_templates} bug, plugins used in external templates were not
loaded correctly, same for custom user plugins
* Cached templates now check the source template for modification before
......
......@@ -1532,8 +1532,8 @@ class Dwoo_Compiler implements Dwoo_ICompiler
if (is_array($parsingParams)) {
$output = $this->parseMethodCall($out[count($out)-1][1], $match[0], $curBlock, $ptr);
$out[count($out)-1][0] .= substr($match[0], 0, $ptr);
$out[count($out)-1][1] .= $output;
$out[count($out)-1][0] = $output;
$out[count($out)-1][1] .= substr($match[0], 0, $ptr);
} else {
$out = $this->parseMethodCall($out, $match[0], $curBlock, $ptr);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment