if metadata is already in the old xmldoc::ptr_metadata

then do not re-add it.
This commit is contained in:
Matt
2015-09-30 21:46:07 -06:00
parent cb4bbe8892
commit a8e3e4b269

@ -28742,6 +28742,10 @@ bool XmlDoc::appendNewMetaInfo ( SafeBuf *metaList , bool forDelete ) {
// wtf?
if ( ! od ) return true;
// dedup. if already in there, do not re-add it
if ( strstr ( od->ptr_metadata , ptr_metadata ) )
return true;
SafeBuf md;
// copy over and append