Skip to content

Commit

Permalink
fix null check
Browse files Browse the repository at this point in the history
  • Loading branch information
JFriel committed Feb 19, 2025
1 parent 3e9354a commit 32927d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rdmp.Dicom/Extraction/FoDicomBased/FoDicomAnonymiser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public void ProcessFile(DicomFile dicomFile, IDataLoadEventListener listener, st
// "0040,0555",
// "00F1,0010"
//};
if (_tagsToKeep.Any())
if (_tagsToKeep is not null && _tagsToKeep.Any())
{
foreach (var tag in _tagsToKeep)
{
Expand Down

0 comments on commit 32927d3

Please sign in to comment.