projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7cb7cd1
)
document catchall and untaint everything
author
ivan
<ivan>
Fri, 17 Aug 2001 10:57:23 +0000
(10:57 +0000)
committer
ivan
<ivan>
Fri, 17 Aug 2001 10:57:23 +0000
(10:57 +0000)
FS/FS/svc_domain.pm
patch
|
blob
|
history
diff --git
a/FS/FS/svc_domain.pm
b/FS/FS/svc_domain.pm
index
fcfcfa9
..
fce6cf2
100644
(file)
--- a/
FS/FS/svc_domain.pm
+++ b/
FS/FS/svc_domain.pm
@@
-93,6
+93,8
@@
FS::svc_Common. The following fields are currently supported:
=item domain
=item domain
+=item catchall - optional svcnum of an svc_acct record, designating an email catchall account.
+
=back
=head1 METHODS
=back
=head1 METHODS
@@
-287,7
+289,11
@@
Sets any fixed values; see L<FS::part_svc>.
sub check {
my $self = shift;
sub check {
my $self = shift;
- my $error;
+ my $error =
+ $self->ut_numbern('svcnum')
+ || $self->ut_numbern('catchall')
+ ;
+ return $error if $error;
my $x = $self->setfixed;
return $x unless ref($x);
my $x = $self->setfixed;
return $x unless ref($x);
@@
-481,7
+487,7
@@
sub submit_internic {
=head1 VERSION
=head1 VERSION
-$Id: svc_domain.pm,v 1.1
3 2001-08-12 19:41:24 jeff
Exp $
+$Id: svc_domain.pm,v 1.1
4 2001-08-17 10:57:23 ivan
Exp $
=head1 BUGS
=head1 BUGS