[freeside-commits] freeside/FS/FS cust_main.pm,1.227,1.228
Ivan,,,
ivan at wavetail.420.am
Fri Aug 18 02:58:13 PDT 2006
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv17643
Modified Files:
cust_main.pm
Log Message:
oops, want CHILD table for skeleton inserts, not parent
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.227
retrieving revision 1.228
diff -u -d -r1.227 -r1.228
--- cust_main.pm 18 Aug 2006 09:50:03 -0000 1.227
+++ cust_main.pm 18 Aug 2006 09:58:11 -0000 1.228
@@ -524,7 +524,8 @@
}
- my @sel_columns = grep { $_ ne $primary_key } dbdef->table($table)->columns;
+ my @sel_columns = grep { $_ ne $primary_key }
+ dbdef->table($child_table)->columns;
my $sel_columns = ' ( '. join(', ', @sel_columns ). ' ) ';
my @ins_columns = grep { $_ ne $child_pkey } @sel_columns;
More information about the freeside-commits
mailing list