changeset 1696:b62c2e706c13

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 Oct 2015 14:49:02 +0200
parents 18c02c6987d5
children 21902c8ba95b
files OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp	Thu Oct 08 14:34:19 2015 +0200
+++ b/OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp	Thu Oct 08 14:49:02 2015 +0200
@@ -499,11 +499,6 @@
     for (size_t i = 0; i < members.size(); i++)
     {
       const std::string& name = members[i];
-      if (tags[name].type() != Json::stringValue)
-      {
-        throw OrthancException(ErrorCode_CreateDicomNotString);
-      }
-
       DicomTag tag = FromDcmtkBridge::ParseTag(name);
 
       if (tag != DICOM_TAG_SPECIFIC_CHARACTER_SET)