Skip to content
Snippets Groups Projects
Commit 62b6d5be authored by Magali Ruffier's avatar Magali Ruffier
Browse files

removed duplication of type variable

parent 56368a57
No related branches found
No related tags found
No related merge requests found
......@@ -121,8 +121,7 @@ sub store_batch_on_Object {
}
sub _store_batch_rows {
my ($self, $type, $rows) = @_;
my $table = lc($type);
my ($self, $table, $rows) = @_;
if (scalar(@$rows) > 0) {
$self->dbc()->sql_helper()->execute_update(-SQL => 'INSERT INTO ' . $table . '_attrib() VALUES' . join(',', @$rows));
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment