mirror of
https://github.com/getgrav/grav.git
synced 2026-07-09 13:53:30 +02:00
Fixed bad str_replace('...', null) parameter in CSVFormatter
This commit is contained in:
@@ -97,7 +97,7 @@ class CsvFormatter extends AbstractFormatter
|
||||
|
||||
if ($null_replace) {
|
||||
array_walk($csv_line, static function (&$el) use ($null_replace) {
|
||||
$el = str_replace($null_replace, null, $el);
|
||||
$el = str_replace($null_replace, "\0", $el);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user