summaryrefslogtreecommitdiff
path: root/FS/FS/svc_cable.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-10-10 08:20:49 -0700
committerIvan Kohler <ivan@freeside.biz>2013-10-10 08:20:49 -0700
commit617a3979db7781ca065e9b07d4c59533d0cb45e2 (patch)
treeb19421b94ec09bd28f284e4605dec091c1e94e81 /FS/FS/svc_cable.pm
parent873c9d3bc75fcb16ceb87fc6bad0fe8e7cf902e8 (diff)
svc_cable.providernum is optional, RT#22009
Diffstat (limited to 'FS/FS/svc_cable.pm')
-rw-r--r--FS/FS/svc_cable.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/svc_cable.pm b/FS/FS/svc_cable.pm
index 6575a0b..672a34d 100644
--- a/FS/FS/svc_cable.pm
+++ b/FS/FS/svc_cable.pm
@@ -142,7 +142,7 @@ sub check {
my $error =
$self->ut_numbern('svcnum')
- || $self->ut_foreign_key('providernum', 'cable_provider', 'providernum')
+ || $self->ut_foreign_keyn('providernum', 'cable_provider', 'providernum')
|| $self->ut_alphan('ordernum')
|| $self->ut_foreign_key('modelnum', 'cable_model', 'modelnum')
|| $self->ut_alpha('serialnum')