From: ivan Date: Thu, 3 Mar 2005 08:52:22 +0000 (+0000) Subject: eek, fix foreign key check X-Git-Tag: BEFORE_FINAL_MASONIZE~682 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=f15ff01e361b49c2e8f1151b566515e77a906405 eek, fix foreign key check --- diff --git a/FS/FS/cust_bill_pkg_detail.pm b/FS/FS/cust_bill_pkg_detail.pm index 261aa80ea..4156816c8 100644 --- a/FS/FS/cust_bill_pkg_detail.pm +++ b/FS/FS/cust_bill_pkg_detail.pm @@ -103,7 +103,7 @@ sub check { $self->ut_numbern('detailnum') || $self->ut_foreign_key('pkgnum', 'cust_pkg', 'pkgnum') - || $self->ut_foreign_key('invnum', 'cust_pkg', 'invnum') + || $self->ut_foreign_key('invnum', 'cust_bill', 'invnum') || $self->ut_text('detail') || $self->SUPER::check ;