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 e2bc95f70..75ad1ef5c 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -523,7 +523,7 @@ sub _copy_skel {
}
my $sequence = '';
- if ( keys %{ $child_tables{$child_table} } ) {
+ if ( keys %{ $child_tables{$child_table_def} } ) {
return "$child_table has no primary key".
" (run dbdef-create or try specifying it?)\n"