Skip to content

Commit 744900b

Browse files
committed
Don't use ToDictionary if includeChapters is null
1 parent c4029a9 commit 744900b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SIL.Machine/PunctuationAnalysis/ParatextProjectQuoteConventionDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public QuoteConventionAnalysis GetQuoteConventionAnalysis(
3535
{
3636
return GetQuoteConventionAnalysis(
3737
handler,
38-
includeChapters.ToDictionary(kvp => Canon.BookIdToNumber(kvp.Key), kvp => kvp.Value)
38+
includeChapters.ToDictionary(kvp => Canon.BookIdToNumber(kvp.Key), kvp => kvp.Value) ?? null
3939
);
4040
}
4141

0 commit comments

Comments
 (0)