Skip to content

Commit

Permalink
Fix eval plugin to work with the adjusted cloning workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Oct 17, 2010
1 parent abad80d commit d9de300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/builtin/functions/eval.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d9de300

Please sign in to comment.