Commit d9de3005 by Jordi Boggiano

Fix eval plugin to work with the adjusted cloning workflow

parent abad80d8
......@@ -31,7 +31,7 @@ function Dwoo_Plugin_eval(Dwoo_Core $dwoo, $var, $assign = null)
}
$tpl = new Dwoo_Template_String($var);
$clone = $dwoo->get(null);
$clone = clone $dwoo;
$out = $clone->get($tpl, $dwoo->readVar('_parent'));
if ($assign !== null) {
......
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