diff OrthancServer/OrthancFindRequestHandler.cpp @ 3691:4922bdd046dd

Fix issue #140 (Modifying private tags with REST API changes VR from LO to UN) - DANGEROUS COMMIT
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Feb 2020 21:44:09 +0100
parents 94f4a18a79cc
children 2a170a8f1faf
line wrap: on
line diff
--- a/OrthancServer/OrthancFindRequestHandler.cpp	Tue Feb 25 13:57:43 2020 +0100
+++ b/OrthancServer/OrthancFindRequestHandler.cpp	Tue Feb 25 21:44:09 2020 +0100
@@ -394,7 +394,8 @@
             content.append(item);
           }
 
-          dicom.Replace(*tag, content, false, DicomReplaceMode_InsertIfAbsent);
+          dicom.Replace(*tag, content, false, DicomReplaceMode_InsertIfAbsent,
+                        "" /* no private creator */);
         }
       }