Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

XLSX rewind does not actually rewind #50

Closed
osuwariboy opened this issue Aug 29, 2013 · 1 comment
Closed

XLSX rewind does not actually rewind #50

osuwariboy opened this issue Aug 29, 2013 · 1 comment

Comments

@osuwariboy
Copy link

Hi there,

I've discovered that when you load a XLSX sheet and do this:

$file->next()
$file->rewind()
print_r($file->current())

The row that's printed is actually the second row, not the first as I would expect. That's because the rewind() function never sets the CurrentRow property back to false. I added the slight correction and everything started working as it should.

I hope this helps,

Osu

martinsp-sales added a commit to martinsp-sales/spreadsheet-reader that referenced this issue Feb 13, 2014
@pilsetnieks
Copy link
Member

Thanks, this is fixed in v.0.5.8.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants