summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
Diffstat (limited to 'FS')
-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;