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

Merge pull request #5 from Anacode/pr4-fix-master

restore changes from c981f63d
parents f9a90829 adcddeb2
No related branches found
No related tags found
No related merge requests found
......@@ -234,7 +234,8 @@ FEATURE:
$sth->execute();
$original->dbID( $sth->{'mysql_insertid'} );
my $dbId = $self->last_insert_id("${tablename}_id", undef, $tablename);
$original->dbID( $dbId );
$original->adaptor($self);
} ## end foreach my $feat (@feats)
......@@ -329,7 +330,7 @@ sub save {
$sth->execute();
$original->dbID($sth->{'mysql_insertid'});
$original->dbID($self->last_insert_id("${tablename}_id", undef, $tablename));
$original->adaptor($self);
}
......
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