projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
07c887e
)
svc_cable.providernum is optional, RT#22009
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 10 Oct 2013 15:20:53 +0000
(08:20 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 10 Oct 2013 15:20:53 +0000
(08:20 -0700)
FS/FS/svc_cable.pm
patch
|
blob
|
history
diff --git
a/FS/FS/svc_cable.pm
b/FS/FS/svc_cable.pm
index
4c071d6
..
26f4c89
100644
(file)
--- a/
FS/FS/svc_cable.pm
+++ b/
FS/FS/svc_cable.pm
@@
-142,7
+142,7
@@
sub check {
my $error =
$self->ut_numbern('svcnum')
my $error =
$self->ut_numbern('svcnum')
- || $self->ut_foreign_key('providernum', 'cable_provider', 'providernum')
+ || $self->ut_foreign_key
n
('providernum', 'cable_provider', 'providernum')
|| $self->ut_alphan('ordernum')
|| $self->ut_foreign_key('modelnum', 'cable_model', 'modelnum')
|| $self->ut_alpha('serialnum')
|| $self->ut_alphan('ordernum')
|| $self->ut_foreign_key('modelnum', 'cable_model', 'modelnum')
|| $self->ut_alpha('serialnum')