Use gncOwnerGetOwnerFromLot.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15757 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler 2007-03-26 21:28:48 +00:00
parent 498c193a63
commit b86e5fa33c

View File

@ -102,7 +102,7 @@
(lot (xaccSplitGetLot split))) (lot (xaccSplitGetLot split)))
(if (not (null? lot)) (if (not (null? lot))
(let* ((invoice (gncInvoiceGetInvoiceFromLot lot)) (let* ((invoice (gncInvoiceGetInvoiceFromLot lot))
(owner? (gnc:owner-get-owner-from-lot (owner? (gncOwnerGetOwnerFromLot
lot temp-owner))) lot temp-owner)))
(if (not (null? invoice)) (if (not (null? invoice))
(set! owner (gncInvoiceGetOwner invoice)) (set! owner (gncInvoiceGetOwner invoice))