Wizard and SQL Backend
This addresses the crash reported on Ubuntu with Postgres by Krzysiek.
The stack trace he posted showed the crash was the result of
dereferencing a NULL GDate*, and this change protects against that. It
still doesn't address the more basic problem of why on Win32 and with
mysql and pgsql (but not SQLite3) the mortgage wizard is writing corrupt
dates.
[BP]
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22171 57a11ea4-9604-0410-9ed3-97b8803252fd