diff --git a/modules/Bio/EnsEMBL/DBSQL/BaseAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/BaseAdaptor.pm index 7d25e3a65e65991e7e05858aef4695eee4d30a48..884cd3d71dc9d40b21f2b1e5a216c50c3774c290 100755 --- a/modules/Bio/EnsEMBL/DBSQL/BaseAdaptor.pm +++ b/modules/Bio/EnsEMBL/DBSQL/BaseAdaptor.pm @@ -293,7 +293,7 @@ WHERE cs.species_id = ? my $sth = $self->prepare($sql); if ($join_with_cs) { - $self->bind_param_generic_fetch( $self->species_id(), SQL_INTEGER ); + $sth->bind_param( 1, $self->species_id(), SQL_INTEGER ); } eval { $sth->execute() };