ensure user attributes are truncated (#1580)
This commit is contained in:
@@ -58,7 +58,7 @@ class XlsxRenderer extends AbstractSpreadsheetRenderer
|
||||
$col = $sheet->getColumnDimension($column);
|
||||
|
||||
// If no other width is specified (which defaults to -1)
|
||||
if ($col->getWidth() === -1) {
|
||||
if ((int) $col->getWidth() === -1) {
|
||||
$col->setAutoSize(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user