Mercurial > hg > orthanc
diff OrthancServer/ServerIndex.cpp @ 701:f9052558eada
fix attachment
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 10 Feb 2014 14:30:56 +0100 |
parents | 2929e17f8447 |
children | 7592a48e97e4 |
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.cpp Fri Feb 07 21:34:09 2014 +0100 +++ b/OrthancServer/ServerIndex.cpp Mon Feb 10 14:30:56 2014 +0100 @@ -819,8 +819,7 @@ int64_t id; ResourceType type; - if (!db_->LookupResource(instanceUuid, id, type) || - type != ResourceType_Instance) + if (!db_->LookupResource(instanceUuid, id, type)) { throw OrthancException(ErrorCode_InternalError); }