Skip to content

Commit

Permalink
Fix multiple test failures with a fetchDepth due to incorrectly popul…
Browse files Browse the repository at this point in the history
…ating child nodes in Client::getNodeData
  • Loading branch information
petesiss authored and lsmith77 committed May 6, 2013
1 parent 5648231 commit 85ee610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jackalope/Transport/DoctrineDBAL/Client.php
Expand Up @@ -874,7 +874,7 @@ public function getNode($path)
$node = $this->getNodeData($path, $row);
} else {
$pathDiff = ltrim(substr($row['path'], strlen($path)),'/');
$nodeData[$pathDiff] = $this->getNodeData($path, $row);
$nodeData[$pathDiff] = $this->getNodeData($row['path'], $row);
}
}

Expand Down

0 comments on commit 85ee610

Please sign in to comment.