From a70b95b1ba2f227ec7cb05b65f55744ec82fc590 Mon Sep 17 00:00:00 2001
From: Graham McVicker <mcvicker@sanger.ac.uk>
Date: Mon, 2 Jun 2003 16:10:24 +0000
Subject: [PATCH] new_fast sets synonym arrayref to []

---
 modules/Bio/EnsEMBL/DBEntry.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/Bio/EnsEMBL/DBEntry.pm b/modules/Bio/EnsEMBL/DBEntry.pm
index 40f32f8d5a..fd4d5c17e1 100644
--- a/modules/Bio/EnsEMBL/DBEntry.pm
+++ b/modules/Bio/EnsEMBL/DBEntry.pm
@@ -63,8 +63,9 @@ sub new_fast {
   my $class = shift;
   my $hashref = shift;
   bless $hashref, $class;
+  $hashref->{_synonyms} = [];
   
-  return $hashref ;
+  return $hashref;
 }
 
 
-- 
GitLab