if metadata is already in the old xmldoc::ptr_metadata
then do not re-add it.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user