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

Escaping Issue when cell has a /#24

Open
BrandonJamesBorders wants to merge 7 commits into
masterfrom
develop
Open

Escaping Issue when cell has a /#24
BrandonJamesBorders wants to merge 7 commits into
masterfrom
develop

Conversation

@BrandonJamesBorders
Copy link
Copy Markdown

@BrandonJamesBorders BrandonJamesBorders commented Oct 20, 2017

Undefined index error in upload where a translatable field has a \. fgetcsv is parsing it as one cell.

Example:
"Choose what type of feed you\","Choose what type of feed you\"

Fix:

while (($row = fgetcsv($handle, 0, ',', '"', '"')) !== false) { $translations[$row[0]] = $row[1]; }

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