Fix Bug 590900 - "Unable to save to DB" dialog from Business -> Customer -> New Job

Allow owner id to be NULL


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18301 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Phil Longstaff 2009-09-07 16:48:27 +00:00
parent 1dbcb0dada
commit bc1aa534df

View File

@ -60,7 +60,7 @@ static GncSqlColumnTableEntry col_table[] =
{ "reference", CT_STRING, MAX_REFERENCE_LEN, COL_NNUL, NULL, JOB_REFERENCE },
{ "active", CT_BOOLEAN, 0, COL_NNUL, NULL, NULL,
(QofAccessFunc)gncJobGetActive, (QofSetterFunc)gncJobSetActive },
{ "owner", CT_OWNERREF, 0, COL_NNUL, NULL, NULL,
{ "owner", CT_OWNERREF, 0, 0, NULL, NULL,
(QofAccessFunc)gncJobGetOwner, (QofSetterFunc)gncJobSetOwner },
{ NULL }
};