diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-10-10 08:20:49 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-10-10 08:20:49 -0700 |
commit | 617a3979db7781ca065e9b07d4c59533d0cb45e2 (patch) | |
tree | b19421b94ec09bd28f284e4605dec091c1e94e81 /FS/FS/svc_cable.pm | |
parent | 873c9d3bc75fcb16ceb87fc6bad0fe8e7cf902e8 (diff) |
svc_cable.providernum is optional, RT#22009
Diffstat (limited to 'FS/FS/svc_cable.pm')
-rw-r--r-- | FS/FS/svc_cable.pm | 2 |
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') |