Author: spadkins
Date: Mon Jan 30 12:13:04 2012
New Revision: 15109
Modified:
p5ee/trunk/App-Repository/lib/App/Repository/Oracle.pm
Log:
fixed insert_rows({ insert_method => single }) (for real this time)
Modified: p5ee/trunk/App-Repository/lib/App/Repository/Oracle.pm
==============================================================================
--- p5ee/trunk/App-Repository/lib/App/Repository/Oracle.pm (original)
+++ p5ee/trunk/App-Repository/lib/App/Repository/Oracle.pm Mon Jan 30
12:13:04 2012
@@ -401,7 +401,7 @@
if ($rows_ref eq "ARRAY") {
if ($insert_method eq "single") {
foreach my $row (@$rows) {
- $ok = $self->_insert_row($table, $cols, $rows, $options);
+ $ok = $self->_insert_row($table, $cols, $row, $options);
$nrows++ if ($ok);
}
}