Merge pull request #222 from ScottIsAFool/ArgumentNullException
Issue #221 - Make sure a null list isn't used.
This commit is contained in:
commit
747e0881cc
|
@ -88,7 +88,7 @@ namespace OpenLiveWriter.BlogClient.Clients
|
|||
Permalink = post.Url,
|
||||
Contents = post.Content,
|
||||
DatePublished = post.Published.Value,
|
||||
Keywords = string.Join(new string(LabelDelimiter,1), post.Labels)
|
||||
Keywords = string.Join(new string(LabelDelimiter,1), post.Labels ?? new List<string>())
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue