X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI%2FSQLite.pm;h=e6175b508922d54989ce860328fbbc66a5b17b55;hb=60283c2e81a0c2ec3ef9ee94350f1a620291e65a;hp=d5b9c62ad5b1e9dd52e046ed930c278d6987b7ff;hpb=843f8ecda2d9885b79402416f048016c1ecc4114;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class/Storage/DBI/SQLite.pm b/lib/DBIx/Class/Storage/DBI/SQLite.pm index d5b9c62..e6175b5 100644 --- a/lib/DBIx/Class/Storage/DBI/SQLite.pm +++ b/lib/DBIx/Class/Storage/DBI/SQLite.pm @@ -6,7 +6,7 @@ use warnings; use base qw/DBIx::Class::Storage::DBI/; sub last_insert_id { - return $self->dbh->func('last_insert_rowid'); + return $_[0]->dbh->func('last_insert_rowid'); } 1;