Skip to content
Snippets Groups Projects
Commit a56041e0 authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Check adaptor is there before using it.

parent 330c5b5a
No related branches found
No related tags found
No related merge requests found
......@@ -509,7 +509,7 @@ sub get_all_synonyms {
my $self = shift;
# lazy-load synonyms if required
if (!$self->{synonyms}) {
if (!$self->{synonyms} & $self->{adaptor}) {
$self->{synonyms} = $self->{adaptor}->fetch_all_synonyms($self->dbID());
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment