* 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:
Derek Atkins
2004-02-04 15:13:45 +00:00
parent fb1daa2ecc
commit 1f8faa860d
2 changed files with 9 additions and 2 deletions
+7
View File
@@ -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:
+2 -2
View File
@@ -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;
}