X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export_option.pm;h=e759404296608f4c7b917a4c244e04b73c2555fe;hb=5af515ac6bdc6ff88860c618207660eac48c276a;hp=33b5e5a675600aae7100b48c94448f5bec3f94eb;hpb=5fc8c5edf574ab024d4646914b6432d458e2ffbd;p=freeside.git diff --git a/FS/FS/part_export_option.pm b/FS/FS/part_export_option.pm index 33b5e5a67..e75940429 100644 --- a/FS/FS/part_export_option.pm +++ b/FS/FS/part_export_option.pm @@ -104,7 +104,7 @@ sub check { my $error = $self->ut_numbern('optionnum') - || $self->ut_number('exportnum') + || $self->ut_foreign_key('exportnum', 'part_export', 'exportnum') || $self->ut_alpha('optionname') || $self->ut_anything('optionvalue') ;