Skip to content

Use filter_var_array instead of filter_var. Fixes importing csv files#169

Merged
JLTRY merged 1 commit intojmcameron:masterfrom
DSE-Western-Thessaloniki:fix_import_csv
Nov 12, 2025
Merged

Use filter_var_array instead of filter_var. Fixes importing csv files#169
JLTRY merged 1 commit intojmcameron:masterfrom
DSE-Western-Thessaloniki:fix_import_csv

Conversation

@parapente
Copy link
Copy Markdown
Collaborator

@parapente parapente commented Nov 11, 2025

In a previous version of the file the preg_replace function was replaced with filter_var but the header_line is actually an array, not a string so filter_var always returns false and the code that follows fails to run.

@JLTRY
Copy link
Copy Markdown
Collaborator

JLTRY commented Nov 12, 2025

I trust your change . I never use the Import feature

@JLTRY JLTRY merged commit 3cd0119 into jmcameron:master Nov 12, 2025
@parapente parapente deleted the fix_import_csv branch November 13, 2025 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants