Commit 3204dbfd authored by Penny Leach's avatar Penny Leach

Fixed the assignment of return variables in the str template

(not tested, I couldn't find anywhere that used it)
parent 1c384215
......@@ -33,7 +33,7 @@ function Dwoo_Plugin_str(Dwoo $dwoo, $tag, $section = 'mahara', $args = null, $a
// If there is an 'assign' parameter, place it into that instead.
if (!empty($assign)) {
$dwoo->assign($assign, $ret);
$dwoo->assignInScope($ret, $assign);
return;
}
......
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