mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-07-29 23:58:03 -05:00
* src/business/business-core/gncJob.c: Linas checked the wrong
argument in SetOwner() in revision 1.40 thereby causing ALL new jobs to fail to work. Check the new owner, not the original. Fixes #133392. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9827 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2004-02-04 Derek Atkins <derek@ihtfp.com>
|
||||
|
||||
* src/business/business-core/gncJob.c: Linas checked the wrong
|
||||
argument in SetOwner() in revision 1.40 thereby causing ALL new
|
||||
jobs to fail to work. Check the new owner, not the original.
|
||||
Fixes #133392.
|
||||
|
||||
2004-01-31 Christian Stimming <stimming@tuhh.de>
|
||||
|
||||
* src/engine/gnc-commodity.c, src/engine/iso-4217-currencies.scm:
|
||||
|
||||
@@ -220,12 +220,12 @@ void gncJobSetOwner (GncJob *job, GncOwner *owner)
|
||||
if (!owner) return;
|
||||
if (gncOwnerEqual (owner, &(job->owner))) return;
|
||||
|
||||
switch (gncOwnerGetType (&(job->owner))) {
|
||||
switch (gncOwnerGetType (owner)) {
|
||||
case GNC_OWNER_CUSTOMER:
|
||||
case GNC_OWNER_VENDOR:
|
||||
break;
|
||||
default:
|
||||
PERR("Unsupported Owner type");
|
||||
PERR("Unsupported Owner type: %d", gncOwnerGetType(owner));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user