projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
finishing e911/svc_phone location, RT#7047
[freeside.git]
/
FS
/
FS
/
part_svc_router.pm
diff --git
a/FS/FS/part_svc_router.pm
b/FS/FS/part_svc_router.pm
index
0b23ab5
..
df04cc9
100755
(executable)
--- a/
FS/FS/part_svc_router.pm
+++ b/
FS/FS/part_svc_router.pm
@@
-13,7
+13,8
@@
sub table { 'part_svc_router'; }
sub check {
my $self = shift;
my $error =
sub check {
my $self = shift;
my $error =
- $self->ut_foreign_key('svcpart', 'part_svc', 'svcpart')
+ $self->ut_numbern('svcrouternum')
+ || $self->ut_foreign_key('svcpart', 'part_svc', 'svcpart')
|| $self->ut_foreign_key('routernum', 'router', 'routernum');
return $error if $error;
''; #no error
|| $self->ut_foreign_key('routernum', 'router', 'routernum');
return $error if $error;
''; #no error