summaryrefslogtreecommitdiff
path: root/src/item.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-30 06:16:57 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-30 17:48:28 -0400
commitf3565495b1b8d92f2290cf4c9295de8b12b8a071 (patch)
tree424ed53eef50ea954d2cd2bef9d094467d40328d /src/item.cc
parent4bc99310f78a18b49228d574f293ffae8d127724 (diff)
downloadfork-ledger-f3565495b1b8d92f2290cf4c9295de8b12b8a071.tar.gz
fork-ledger-f3565495b1b8d92f2290cf4c9295de8b12b8a071.tar.bz2
fork-ledger-f3565495b1b8d92f2290cf4c9295de8b12b8a071.zip
Added missing check in item_t::get_actual
Diffstat (limited to 'src/item.cc')
-rw-r--r--src/item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.cc b/src/item.cc
index c4db7a51..e8ecec15 100644
--- a/src/item.cc
+++ b/src/item.cc
@@ -187,7 +187,7 @@ namespace {
}
value_t get_actual(item_t& item) {
- return ! item.has_flags(ITEM_GENERATED);
+ return ! item.has_flags(ITEM_GENERATED | ITEM_TEMP);
}
value_t get_date(item_t& item) {