changeset 2434:63194107e61b

fix issue #31 for good: removing group length correctly
author amazy
date Sat, 25 Nov 2017 11:22:53 +0100
parents b382879072a5
children 07dd79e70b79
files NEWS OrthancServer/OrthancFindRequestHandler.cpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Tue Nov 14 14:55:11 2017 +0100
+++ b/NEWS	Sat Nov 25 11:22:53 2017 +0100
@@ -27,6 +27,7 @@
 * Fix issue 64 (OpenBSD support)
 * Fix static compilation of DCMTK 3.6.2 on Fedora
 * Upgrade to Boost 1.65.1 in static builds
+* Fix issue 31 for good (create new modality types for Philips ADW, GE Xeleris, GE AWServer)
 
 
 Version 1.3.0 (2017-07-19)
--- 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;
     }