diff Core/DicomParsing/DicomModification.cpp @ 3709:1f4910999fe7

Fix issue #168 (Plugins can't read private tags from the configuration file)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 28 Feb 2020 13:23:11 +0100
parents 4922bdd046dd
children 2a170a8f1faf
line wrap: on
line diff
--- a/Core/DicomParsing/DicomModification.cpp	Fri Feb 28 11:53:23 2020 +0100
+++ b/Core/DicomParsing/DicomModification.cpp	Fri Feb 28 13:23:11 2020 +0100
@@ -1324,6 +1324,12 @@
 
     patientNameReplaced = (IsReplaced(DICOM_TAG_PATIENT_NAME) &&
                            GetReplacement(DICOM_TAG_PATIENT_NAME) == patientName);
+
+    // New in Orthanc 1.6.0
+    if (request.isMember("PrivateCreator"))
+    {
+      privateCreator_ = SerializationToolbox::ReadString(request, "PrivateCreator");
+    }
   }