X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-File-KDBX;a=blobdiff_plain;f=lib%2FFile%2FKDBX%2FDumper%2FXML.pm;h=86eb5c9065073d09c992c26f5322bea47ed26ecd;hp=07f388857d48b5f2cb8052f543743734c115ae74;hb=1d0a10e989a4d0487aa13cf4f56e533d3795469d;hpb=3e5bbe6df5195b85f2444668e41d71e095a19e9b diff --git a/lib/File/KDBX/Dumper/XML.pm b/lib/File/KDBX/Dumper/XML.pm index 07f3888..86eb5c9 100644 --- a/lib/File/KDBX/Dumper/XML.pm +++ b/lib/File/KDBX/Dumper/XML.pm @@ -296,7 +296,7 @@ sub _write_xml_root { if (my $group = $kdbx->root) { my $group_node = $node->addNewChild(undef, 'Group'); - $self->_write_xml_group($group_node, $group->_confirmed); + $self->_write_xml_group($group_node, $group->_committed); } undef $guard; # re-lock if needed, as early as possible @@ -337,12 +337,12 @@ sub _write_xml_group { for my $entry (@{$group->entries}) { my $entry_node = $node->addNewChild(undef, 'Entry'); - $self->_write_xml_entry($entry_node, $entry->_confirmed); + $self->_write_xml_entry($entry_node, $entry->_committed); } for my $group (@{$group->groups}) { my $group_node = $node->addNewChild(undef, 'Group'); - $self->_write_xml_group($group_node, $group->_confirmed); + $self->_write_xml_group($group_node, $group->_committed); } } @@ -423,7 +423,7 @@ sub _write_xml_entry { my $history_node = $node->addNewChild(undef, 'History'); for my $historical (@history) { my $historical_node = $history_node->addNewChild(undef, 'Entry'); - $self->_write_xml_entry($historical_node, $historical->_confirmed, 1); + $self->_write_xml_entry($historical_node, $historical->_committed, 1); } } }