Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
laceysanderson committed Sep 11, 2019
2 parents 9252258 + 588fffb commit 7063c89
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion chado_custom_search/ChadoCustomSearch.inc
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,12 @@ class ChadoCustomSearch {
$link[$key]['entity_link']['chado_table'],
$r->{$link[$key]['entity_link']['id_column']}
);
$row[$key] = l($r->{$key}, '/bio_data/'.$entity_id);
if ($entity_id) {
$row[$key] = l($r->{$key}, '/bio_data/'.$entity_id);
}
else {
$row[$key] = $r->{$key};
}
}
}
else {
Expand Down

0 comments on commit 7063c89

Please sign in to comment.