From: ivan Date: Fri, 18 Aug 2006 10:27:46 +0000 (+0000) Subject: that was it, the sql had to be fixed... X-Git-Tag: BEFORE_RT_3_4_5^2~9 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=78b0e4c62ec84a5e4082ee3d73f9825e498d3462;p=freeside.git that was it, the sql had to be fixed... --- diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index b7545dee7..94564dc80 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -526,7 +526,7 @@ sub _copy_skel { my @sel_columns = grep { $_ ne $primary_key } dbdef->table($child_table)->columns; - my $sel_columns = ' ( '. join(', ', @sel_columns ). ' ) '; + my $sel_columns = join(', ', @sel_columns ); my @ins_columns = grep { $_ ne $child_pkey } @sel_columns; my $ins_columns = ' ( '. join(', ', $primary_key, @ins_columns ). ' ) ';