mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
fix: Fixing null parameter exception in TableBuilder
This commit is contained in:
parent
08aeba756a
commit
d002dda568
1 changed files with 1 additions and 1 deletions
|
|
@ -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++)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue