From c625d1aa2067051c9f144a7e77af72df905246e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20Kusalananda=20K=C3=A4h=C3=A4ri?=
 <ak4@sanger.ac.uk>
Date: Tue, 15 Feb 2011 14:06:48 +0000
Subject: [PATCH] Add forgotten array.

---
 modules/Bio/EnsEMBL/DBSQL/OntologyTermAdaptor.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/Bio/EnsEMBL/DBSQL/OntologyTermAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/OntologyTermAdaptor.pm
index 8b3d5a4475..8ef0b41e1b 100644
--- a/modules/Bio/EnsEMBL/DBSQL/OntologyTermAdaptor.pm
+++ b/modules/Bio/EnsEMBL/DBSQL/OntologyTermAdaptor.pm
@@ -528,6 +528,7 @@ WHERE   synonym.term_id = ?);
   my $synonym;
   $sth->bind_col( 1, \$synonym );
 
+  my @synonyms;
   while ( $sth->fetch() ) {
     push( @synonyms, $synonym );
   }
-- 
GitLab