joomla/joomla-platform — pull request #882 by robschley (2012-02-15 19:33:46+00:00)
Title: Add Iterator support to JPath::find()

Added support for passing Iterator objects into JPath::find(). Previously, JPath::find() would typecast the input into an array which, in the case of iterators, results in an empty array.