Commit f1ee99ef authored by Jens Segers's avatar Jens Segers

Clean up result array

parent 1ec1e2a0
......@@ -153,7 +153,7 @@ class Builder extends \Illuminate\Database\Query\Builder {
if ($this->limit) $cursor->limit($this->limit);
// Return results
return iterator_to_array($cursor);
return array_values(iterator_to_array($cursor));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment