that was it, the sql had to be fixed...
authorivan <ivan>
Fri, 18 Aug 2006 10:27:46 +0000 (10:27 +0000)
committerivan <ivan>
Fri, 18 Aug 2006 10:27:46 +0000 (10:27 +0000)
FS/FS/cust_main.pm

index b7545de..94564dc 100644 (file)
@@ -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 ). ' ) ';