diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-01 06:10:49 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-01 06:10:49 -0500 |
commit | 0cb80a51ea2d64e2069d6ef9d3a42a0996b73c88 (patch) | |
tree | 8ec5023a9a5b949f7732e72490283f5d97620f2e /src/xact.cc | |
parent | cebc9f6e8649bcd5ff5f79aa479cf0d90562c18b (diff) | |
parent | 502fc9bda2b7ba5f7a3fbc5c944a6a93c3b97243 (diff) | |
download | fork-ledger-0cb80a51ea2d64e2069d6ef9d3a42a0996b73c88.tar.gz fork-ledger-0cb80a51ea2d64e2069d6ef9d3a42a0996b73c88.tar.bz2 fork-ledger-0cb80a51ea2d64e2069d6ef9d3a42a0996b73c88.zip |
Merge branch 'next'
Diffstat (limited to 'src/xact.cc')
-rw-r--r-- | src/xact.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xact.cc b/src/xact.cc index 1ab54bdf..34b8c340 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -457,7 +457,7 @@ bool xact_t::valid() const DEBUG("ledger.validate", "xact_t: ! _date"); return false; } - if (! journal) { + if (! has_flags(ITEM_GENERATED | ITEM_TEMP) && ! journal) { DEBUG("ledger.validate", "xact_t: ! journal"); return false; } |