Added a check for null.
This commit is contained in:
parent
2df14a5b86
commit
e22fa78e84
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));
|
||||
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));
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue