Migrate to League\Csv 9.0 (#5335)
OC 1.1 require `league/csv: ~9.1` but use code from 8.x on ImportExport behavior. https://csv.thephpleague.com/9.0/upgrading/
This commit is contained in:
parent
d7d6faeedb
commit
e2eb299bee
|
|
@ -803,9 +803,9 @@ class ImportExportController extends ControllerBehavior
|
|||
|
||||
if (
|
||||
$options['encoding'] !== null &&
|
||||
$reader->isActiveStreamFilter()
|
||||
$reader->supportsStreamFilter()
|
||||
) {
|
||||
$reader->appendStreamFilter(sprintf(
|
||||
$reader->addStreamFilter(sprintf(
|
||||
'%s%s:%s',
|
||||
TranscodeFilter::FILTER_NAME,
|
||||
strtolower($options['encoding']),
|
||||
|
|
|
|||
Loading…
Reference in New Issue