so Search.tsf and Search.rdf work
[freeside.git] / FS / FS / part_export_option.pm
index 4ce70b4..33b5e5a 100644 (file)
@@ -38,9 +38,9 @@ currently supported:
 
 =item exportnum - export (see L<FS::part_export>)
 
-=item option - option name
+=item optionname - option name
 
-=item opeionvalue - option value
+=item optionvalue - option value
 
 =back
 
@@ -105,8 +105,8 @@ sub check {
   my $error = 
     $self->ut_numbern('optionnum')
     || $self->ut_number('exportnum')
-    || $self->ut_alpha('option')
-    || $self->ut_textn('optionvalue')
+    || $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