mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Don't upgrade to KDBX 4 when CustomData are present only in meta data section, resolves #1565
This commit is contained in:
@@ -129,9 +129,7 @@ void KdbxXmlWriter::writeMetadata()
|
||||
if (m_kdbxVersion < KeePass2::FILE_VERSION_4) {
|
||||
writeBinaries();
|
||||
}
|
||||
if (m_kdbxVersion >= KeePass2::FILE_VERSION_4) {
|
||||
writeCustomData(m_meta->customData());
|
||||
}
|
||||
writeCustomData(m_meta->customData());
|
||||
|
||||
m_xml.writeEndElement();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user