mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Merge pull request #425 from hifi/empty-bools
Treat empty booleans in XML as false
This commit is contained in:
commit
26bc2a8c3e
@ -1037,6 +1037,9 @@ bool KeePass2XmlReader::readBool()
|
||||
else if (str.compare("False", Qt::CaseInsensitive) == 0) {
|
||||
return false;
|
||||
}
|
||||
else if (str.length() == 0) {
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
raiseError("Invalid bool value");
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user