diff options
author | ivan <ivan> | 2003-01-14 08:51:34 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-01-14 08:51:34 +0000 |
commit | 79490f69ad001df7bb923bf5e86058723842d0f8 (patch) | |
tree | b395bda16669ebcbd62dbb93067b13c747924ee6 /FS | |
parent | 99ac490989a06fa2ab195cde6241710da45ab0aa (diff) |
add freeside-selfservice-server to init script
add domsvc checking as a foreign key
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/svc_acct.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index f7a0665de..1a36fa36a 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -682,7 +682,8 @@ sub check { } my $error = $self->ut_numbern('svcnum') - || $self->ut_number('domsvc') + #|| $self->ut_number('domsvc') + || $self->ut_foreign_key('domsvc', 'svc_domain', 'svcnum' ) || $self->ut_textn('sec_phrase') ; return $error if $error; |