mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 05:05:05 +00:00
fix: Fixing null parameter exception in TableBuilder
This commit is contained in:
@@ -111,7 +111,7 @@ namespace ICD.Common.Utils
|
|||||||
|
|
||||||
for (int column = 0; column < row.Length; column++)
|
for (int column = 0; column < row.Length; column++)
|
||||||
{
|
{
|
||||||
string cell = row[column];
|
string cell = row[column] ?? string.Empty;
|
||||||
string[] lines = Regex.Split(cell, "\r\n|\r|\n");
|
string[] lines = Regex.Split(cell, "\r\n|\r|\n");
|
||||||
|
|
||||||
for (int line = 0; line < lines.Length; line++)
|
for (int line = 0; line < lines.Length; line++)
|
||||||
|
|||||||
Reference in New Issue
Block a user