Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
721:9b15028ddc1b | 722:3596177682a9 |
---|---|
208 if (resource.isMember(tag)) | 208 if (resource.isMember(tag)) |
209 { | 209 { |
210 value = resource.get(tag, Json::arrayValue).get("Value", "").asString(); | 210 value = resource.get(tag, Json::arrayValue).get("Value", "").asString(); |
211 result.SetValue(query.GetElement(i).GetTag(), value); | 211 result.SetValue(query.GetElement(i).GetTag(), value); |
212 } | 212 } |
213 else | |
214 { | |
215 result.SetValue(query.GetElement(i).GetTag(), ""); | |
216 } | |
213 } | 217 } |
214 } | 218 } |
215 | 219 |
216 answers.Add(result); | 220 answers.Add(result); |
217 } | 221 } |