diff OrthancServer/OrthancFindRequestHandler.cpp @ 2434:63194107e61b

fix issue #31 for good: removing group length correctly
author amazy
date Sat, 25 Nov 2017 11:22:53 +0100
parents 7284093111b0
children 878b59270859
line wrap: on
line diff
--- a/OrthancServer/OrthancFindRequestHandler.cpp	Tue Nov 14 14:55:11 2017 +0100
+++ b/OrthancServer/OrthancFindRequestHandler.cpp	Sat Nov 25 11:22:53 2017 +0100
@@ -454,7 +454,7 @@
     // Whatever the manufacturer, remove the GenericGroupLength tags
     // http://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_7.2.html
     // https://bitbucket.org/sjodogne/orthanc/issues/31/
-    if (tag.GetGroup() == 0x0000)
+    if (tag.GetElement() == 0x0000)
     {
       return false;
     }