projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
71890: SelfService API: Return monthly recurring fee
[freeside.git]
/
FS
/
FS
/
part_export_option.pm
diff --git
a/FS/FS/part_export_option.pm
b/FS/FS/part_export_option.pm
index
33b5e5a
..
17bcf00
100644
(file)
--- a/
FS/FS/part_export_option.pm
+++ b/
FS/FS/part_export_option.pm
@@
-1,11
+1,8
@@
package FS::part_export_option;
package FS::part_export_option;
+use base qw(FS::Record);
use strict;
use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-use FS::part_export;
-
-@ISA = qw(FS::Record);
+use FS::Record qw( qsearchs ); #qw( qsearch qsearchs );
=head1 NAME
=head1 NAME
@@
-104,7
+101,7
@@
sub check {
my $error =
$self->ut_numbern('optionnum')
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')
;
|| $self->ut_alpha('optionname')
|| $self->ut_anything('optionvalue')
;