X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export_option.pm;h=e759404296608f4c7b917a4c244e04b73c2555fe;hb=dafdfc24616b04a5ff594da31e2cdd03f58634b6;hp=4ce70b4cd8bbaceabf6e22be8751a4979506696d;hpb=b03df92e48df653460cb8b6034a06dd1de6f4095;p=freeside.git diff --git a/FS/FS/part_export_option.pm b/FS/FS/part_export_option.pm index 4ce70b4cd..e75940429 100644 --- a/FS/FS/part_export_option.pm +++ b/FS/FS/part_export_option.pm @@ -38,9 +38,9 @@ currently supported: =item exportnum - export (see L) -=item option - option name +=item optionname - option name -=item opeionvalue - option value +=item optionvalue - option value =back @@ -104,9 +104,9 @@ sub check { my $error = $self->ut_numbern('optionnum') - || $self->ut_number('exportnum') - || $self->ut_alpha('option') - || $self->ut_textn('optionvalue') + || $self->ut_foreign_key('exportnum', 'part_export', 'exportnum') + || $self->ut_alpha('optionname') + || $self->ut_anything('optionvalue') ; return $error if $error; @@ -115,7 +115,7 @@ sub check { #check options & values? - ''; #no error + $self->SUPER::check; } =back