Browse files

- typo

git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@92239 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent 0cb1c1d commit 63641132c6e787d0c1100ef6a6fcd084828eb5a3 Daniel Allen committed Aug 16, 2002
Showing with 2 additions and 2 deletions.
  1. +2 −2 XPath/result.php
View
4 XPath/result.php
@@ -319,8 +319,8 @@ function sort($in_sortXpath = '.', $in_order = XML_XPATH_SORT_TEXT_ASCENDING, $i
$parent->set_attribute($attributeNode->node_name(), $attributeNode->value());
}
- foreach ($this->data as $sortedNode) {
- $parent->append_child($sortedNode);
+ foreach ($this->data as $key => $sortedNode) {
+ $this->data[$key] = $parent->append_child($sortedNode);
}
}

0 comments on commit 6364113

Please sign in to comment.