Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

Conversation

korstiaan
Copy link
Contributor

A CSV with headers and not using comma as delimiter or not using '"' as enclosure couldn't be parsed since the headers were parsed in the constructor, which is ofcourse before a EasyCSV\AbstractBase::setDelimiter or EasyCSV\AbstractBase::setEnclosure call

Fixed this by lazy loading the headers.

@jwage
Copy link
Owner

jwage commented Feb 17, 2013

👍

jwage added a commit that referenced this pull request Feb 17, 2013
Lazy load headers so we can still set delimiter / enclosure
@jwage jwage merged commit 6d712cf into jwage:master Feb 17, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants