mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 795040 - GnuCash crashes when searching for a newly created bill
This commit is contained in:
parent
0106a771d0
commit
4aadfbe636
@ -823,9 +823,9 @@ time64 gncInvoiceGetDatePosted (const GncInvoice *invoice)
|
||||
time64 gncInvoiceGetDateDue (const GncInvoice *invoice)
|
||||
{
|
||||
Transaction *txn;
|
||||
if (!invoice) return 0;
|
||||
if (!invoice) return INT64_MAX;
|
||||
txn = gncInvoiceGetPostedTxn (invoice);
|
||||
if (!txn) return 0;
|
||||
if (!txn) return INT64_MAX;
|
||||
return xaccTransRetDateDue (txn);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user