Skip to content
Snippets Groups Projects
Commit 46dc3075 authored by Jared Hancock's avatar Jared Hancock
Browse files

export: Fix crash exporting users

parent 907ec36b
No related branches found
No related tags found
No related merge requests found
......@@ -278,6 +278,8 @@ class ResultSetExporter {
$this->keys[] = $field;
}
$this->_res = $sql->getIterator();
if ($this->_res instanceof IteratorAggregate)
$this->_res = $this->_res->getIterator();
$this->_res->rewind();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment