diff options
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 bbe8ff47..71fba7a7 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -171,7 +171,7 @@ namespace { } value_t get_total(xact_t& xact) { - if (xact.xdata_) + if (xact.xdata_ && ! xact.xdata_->total.is_null()) return xact.xdata_->total; else return xact.amount; |