From 5dce18294d8c98e87d60b03708f6c1b642a32e5b Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 10 Oct 2013 08:20:53 -0700 Subject: [PATCH] svc_cable.providernum is optional, RT#22009 --- FS/FS/svc_cable.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/svc_cable.pm b/FS/FS/svc_cable.pm index 4c071d608..26f4c89b1 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') -- 2.11.0