Skip to content

Commit

Permalink
Merge pull request #1365 from tripal/1364-tv3-ogi__location_on_map
Browse files Browse the repository at this point in the history
Issue 1364 check for description property
  • Loading branch information
laceysanderson committed Dec 14, 2022
2 parents 6c1c3ee + 764f5fa commit def9575
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ class ogi__location_on_map extends ChadoField {
// Map.
$map_term => [
$name_term => $featuremap->name,
$description_term => $featuremap->description,
$description_term => property_exists($featuremap, 'description')?$featuremap->description:'',
],
$ref_feature_term => [
$ref_feature_name => $featurepos->map_feature_id->name,
Expand Down

0 comments on commit def9575

Please sign in to comment.