summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2006-08-18 11:40:34 +0000
committerivan <ivan>2006-08-18 11:40:34 +0000
commitbde46a1e81ab59c0068399903c5efe30c9ffc618 (patch)
tree2bfcdb0c05960cb559cee7e9f9c168761ade3bc3
parent893ba3c4c659154ec34d30fb96853977a4479f09 (diff)
fix the explicitly specified primary keys
-rw-r--r--FS/FS/cust_main.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index 07b2c1157..e2bc95f70 100644
--- 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;