From 784f638faa0a1948baa7ccfa93487e3b8a0ed0b3 Mon Sep 17 00:00:00 2001 From: Shawn Laffan Date: Wed, 7 Aug 2019 17:42:59 +1000 Subject: [PATCH] add name to export parameter avoids undefined warning Updates #161 --- lib/Biodiverse/BaseStruct/Export.pm | 1 + lib/Biodiverse/Cluster.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/Biodiverse/BaseStruct/Export.pm b/lib/Biodiverse/BaseStruct/Export.pm index 1944c9e52..519b16068 100644 --- a/lib/Biodiverse/BaseStruct/Export.pm +++ b/lib/Biodiverse/BaseStruct/Export.pm @@ -644,6 +644,7 @@ sub get_metadata_export_shapefile { 'will be exported.', }, { + name => 'shape_export_comment', type => 'comment', label_text => $shape_export_comment_text, }, diff --git a/lib/Biodiverse/Cluster.pm b/lib/Biodiverse/Cluster.pm index 232bcab65..de2d8ca85 100644 --- a/lib/Biodiverse/Cluster.pm +++ b/lib/Biodiverse/Cluster.pm @@ -359,6 +359,7 @@ sub get_metadata_export_shapefile { }, #@nodata_meta, { + name => 'shape_export_comment', type => 'comment', label_text => $shape_export_comment_text, },