From 62b8e507894bb50cc4838371b2413685e2b07cb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kusalananda=20K=C3=A4h=C3=A4ri?= <ak4@sanger.ac.uk> Date: Thu, 10 Feb 2011 10:01:16 +0000 Subject: [PATCH] Fix typo. --- modules/Bio/EnsEMBL/DBSQL/OntologyTermAdaptor.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Bio/EnsEMBL/DBSQL/OntologyTermAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/OntologyTermAdaptor.pm index 4fa253839d..91cb05196f 100644 --- a/modules/Bio/EnsEMBL/DBSQL/OntologyTermAdaptor.pm +++ b/modules/Bio/EnsEMBL/DBSQL/OntologyTermAdaptor.pm @@ -104,7 +104,7 @@ WHERE ontology.ontology_id = term.ontology_id $sth->bind_param( 2, $pattern, SQL_VARCHAR ); if ( defined($ontology) ) { - $sth->bind_param( 3, $this->{'ontology'}, SQL_VARCHAR ); + $sth->bind_param( 3, $ontology, SQL_VARCHAR ); } $sth->execute(); -- GitLab