summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2006-08-18 11:52:13 +0000
committerivan <ivan>2006-08-18 11:52:13 +0000
commit960253f3d34e0e782214b47cf4b71b3178360ffa (patch)
treeeaefb519d4094f108886e7a5be9b0a53a8204d3a /FS
parentbde46a1e81ab59c0068399903c5efe30c9ffc618 (diff)
alas, now try with recursion
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"