diff options
Diffstat (limited to 'it_pipe.class')
-rw-r--r-- | it_pipe.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_pipe.class b/it_pipe.class index d3e4ae0..e009556 100644 --- a/it_pipe.class +++ b/it_pipe.class @@ -215,7 +215,7 @@ function csv($p = []) if (($cols = str_getcsv($line, $splitchar, '"')) && count($schema) == count($cols)) $records[] = (object)array_combine($schema, $cols); else - it::error((array)$p['it_error'] + ['title' => "schema mismatch: " . count($schema) . " vs " . count($cols), 'body' => [$schema, $line]]); # NOPHPLINT + it::error((array)$p['it_error'] + ['title' => "schema mismatch: " . count($schema) . " vs " . count($cols), 'body' => [$schema, $line]]); } setlocale(LC_CTYPE, $oldlocale); |