Skip to content
Snippets Groups Projects
Commit 1524fbfc authored by Thomas Hafner's avatar Thomas Hafner Committed by José de Leon
Browse files

Resolve #3455540 "S3fs compatability fixes"

parent e3c84dc8
Branches
Tags 1.0.22
1 merge request!18Resolve #3455540 "S3fs compatability fixes"
......@@ -526,7 +526,7 @@ class CSVFileFormatter extends FileFormatterBase {
}
// Render HTML table from CSV file.
$file_name = $this->getFileSystem()->realpath($file->get('uri')->value) ?? $file->getFileUri();
$file_name = $this->getFileSystem()->realpath($file->get('uri')->value) ?: $file->getFileUri();
$table_data = $this->readcsv($file_name, $field_name . '-' . $item_count, $item->getEntity()->id(), $item->description);
$elements[$delta][$elemcount] = $table_data;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment