Added a check for null.
This commit is contained in:
parent
f43370cae5
commit
6e5bdb9b48
1 changed files with 1 additions and 1 deletions
|
|
@ -637,7 +637,7 @@ void format_transactions::operator()(transaction_t& xact)
|
||||||
first_line_format.format(output_stream, details_t(xact));
|
first_line_format.format(output_stream, details_t(xact));
|
||||||
last_entry = xact.entry;
|
last_entry = xact.entry;
|
||||||
}
|
}
|
||||||
else if (last_xact->date() != xact.date()) {
|
else if (last_xact && last_xact->date() != xact.date()) {
|
||||||
first_line_format.format(output_stream, details_t(xact));
|
first_line_format.format(output_stream, details_t(xact));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue