Commit b4eafb3b authored by Andy Yates's avatar Andy Yates
Browse files

Need to do an alias lookup otherwise our search will fail badly

parent 8f39079d
......@@ -2737,6 +2737,7 @@ sub get_species_and_object_type {
$sth->bind_param(1, $stable_id, SQL_VARCHAR);
my $param_count = 1;
if ($known_species) {
$known_species = $self->get_alias($known_species);
$param_count++;
$sth->bind_param($param_count, $known_species, SQL_VARCHAR);
}
......
Markdown is supported
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