Commit 5f3d81ca by Seldaek

* Fixed a bug in Dwoo::setScope affecting {loop} and {with}

git-svn-id: svn://dwoo.org/dwoo/trunk@32 0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent 93718875
......@@ -1397,7 +1397,7 @@ class Dwoo
if(is_array($scope)===false)
$scope = explode('.', $scope);
while($bit = array_shift($scope))
while(($bit = array_shift($scope)) !== null)
{
if($bit === '_parent')
{
......
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