Add a missing null check

This commit is contained in:
Stephan
2018-12-04 18:50:21 +01:00
parent b086fd2f0b
commit b60cda2e1b

View File

@@ -1136,7 +1136,7 @@ namespace Umbraco.Core.Persistence
{
text.AppendLine(sql);
if (arguments.Length == 0)
if (arguments == null || arguments.Length == 0)
return;
text.Append(" --");