octobercms/october — pull request #298 by Naxiz (2014-06-15 14:28:03+00:00)
Title: Rewind RecursiveIteratorIterator before use

Fixes #268 and #288.

More info: https://bugs.php.net/bug.php?id=62914

>As a reminder, all iterators have been designed in a way that you need to call rewind before using.