diff --git a/goextVersion.go b/goextVersion.go index 3d218cf..f617862 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.555" +const GoextVersion = "0.0.556" -const GoextVersionTimestamp = "2025-01-09T10:39:56+0100" +const GoextVersionTimestamp = "2025-01-09T10:41:00+0100" diff --git a/wpdf/wpdfTable.go b/wpdf/wpdfTable.go index a8e576f..1cff0b9 100644 --- a/wpdf/wpdfTable.go +++ b/wpdf/wpdfTable.go @@ -123,7 +123,7 @@ func (b *TableBuilder) Build() { err := exerr.New(exerr.TypeInternal, "data must have the same length as header"). Int("idx", i). Strs("cells", langext.ArrMap(dat.cells, func(v TableCell) string { return v.Content })). - Any("colWidths", b.columnWidths). + Strs("colWidths", langext.Coalesce(b.columnWidths, nil)). Build() builder.FPDF().SetError(err) return