comparison OrthancServer/FromDcmtkBridge.cpp @ 2076:ec2ad6ac741e

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 17 Aug 2016 14:43:57 +0200
parents 4a151d26c98a
children a657f7772e69
comparison
equal deleted inserted replaced
2075:bec08e9236f5 2076:ec2ad6ac741e
586 586
587 if (element.isLeaf()) 587 if (element.isLeaf())
588 { 588 {
589 node["Name"] = tagName; 589 node["Name"] = tagName;
590 590
591 DcmTag tagbis(tag.GetGroup(), tag.GetElement()); 591 if (element.getTag().getPrivateCreator() != NULL)
592 if (tagbis.getPrivateCreator() != NULL)
593 { 592 {
594 node["PrivateCreator"] = tagbis.getPrivateCreator(); 593 node["PrivateCreator"] = element.getTag().getPrivateCreator();
595 } 594 }
596 595
597 return node; 596 return node;
598 } 597 }
599 else 598 else