change deprecated CSV export code
Dieser Commit ist enthalten in:
Ursprung
e1502b274e
Commit
ea77239510
@ -36,13 +36,12 @@ class Csv implements RendererInterface
|
||||
$csv = $this->getCsv();
|
||||
$csv->insertOne( $fieldNames );
|
||||
$csv->insertAll( $rows );
|
||||
return $csv->toString();
|
||||
} catch (Exception $e) {
|
||||
/** @var RenderException $newException */
|
||||
$newException = oxNew(RenderException::class, $e->getMessage(), $e->getCode(), $e );
|
||||
throw $newException;
|
||||
}
|
||||
|
||||
return $csv->getContent();
|
||||
}
|
||||
|
||||
public function getFileExtension(): string
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren