diff OrthancServer/OrthancFindRequestHandler.cpp @ 722:3596177682a9

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 14 Feb 2014 16:12:44 +0100
parents cf6e761e7da5
children 67e6400fca03 d466b3606aca
line wrap: on
line diff
--- a/OrthancServer/OrthancFindRequestHandler.cpp	Fri Feb 14 12:45:51 2014 +0100
+++ b/OrthancServer/OrthancFindRequestHandler.cpp	Fri Feb 14 16:12:44 2014 +0100
@@ -210,6 +210,10 @@
           value = resource.get(tag, Json::arrayValue).get("Value", "").asString();
           result.SetValue(query.GetElement(i).GetTag(), value);
         }
+        else
+        {
+          result.SetValue(query.GetElement(i).GetTag(), "");
+        }
       }
     }