Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/EPPlusSoftware/EPPlus in…
Browse files Browse the repository at this point in the history
…to develop
  • Loading branch information
JanKallman committed Jun 10, 2022
2 parents 6efd269 + 9a8da82 commit 519a613
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ public override CompileResult Execute(IEnumerable<FunctionArgument> arguments, P
{
return CompileResult.Empty;
}
else if(!result.IsMulti)
{
var cell = result.FirstOrDefault();
var val = cell != null ? cell.Value : null;
if (val == null) return CompileResult.Empty;
return new CompileResultFactory().Create(val);
}
return new CompileResult(result, DataType.Enumerable);
}
}
Expand Down

0 comments on commit 519a613

Please sign in to comment.