projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
893ba3c
)
fix the explicitly specified primary keys
author
ivan
<ivan>
Fri, 18 Aug 2006 11:40:34 +0000
(11:40 +0000)
committer
ivan
<ivan>
Fri, 18 Aug 2006 11:40:34 +0000
(11:40 +0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
07b2c11
..
e2bc95f
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-512,7
+512,7
@@
sub _copy_skel {
my $child_table;
my $child_pkey = '';
- if ( $child_table =~ /^(\w+)\.(\w+)$/ ) {
+ if ( $child_table
_def
=~ /^(\w+)\.(\w+)$/ ) {
( $child_table, $child_pkey ) = ( $1, $2 );
} else {
$child_table = $child_table_def;