From: Ivan Kohler Date: Thu, 10 Oct 2013 15:20:49 +0000 (-0700) Subject: svc_cable.providernum is optional, RT#22009 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=617a3979db7781ca065e9b07d4c59533d0cb45e2 svc_cable.providernum is optional, RT#22009 --- diff --git a/FS/FS/svc_cable.pm b/FS/FS/svc_cable.pm index 6575a0bec..672a34d7b 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')